Scott O'Bryan created TRINIDAD-2425:
---------------------------------------

             Summary: New plugins issue a warning on unavailability of 
uncompiled code
                 Key: TRINIDAD-2425
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2425
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Plugins
    Affects Versions: 2.0.8-plugins
            Reporter: Scott O'Bryan
            Assignee: Scott O'Bryan
            Priority: Blocker


The current 2.0.8 tag candidate tries to reference an object to determine type 
while attempting to generate tags.  If this class is in the module where the 
tags are being generated, this can cause a ClassNotFoundException.

This error is being generated multiple times while running a Trinidad Build:
[INFO] ClassNotFound error resolving type 
org.apache.myfaces.trinidad.model.Date 
ListProvider 
java.lang.ClassNotFoundException: 
org.apache.myfaces.trinidad.model.DateListProv 
ider 
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 
        at java.security.AccessController.doPrivileged(Native Method) 
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307) 
        at 
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL 
oader.java:195) 
        at 
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal 
m.java:255) 
        at 
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal 
m.java:274) 
        at 
org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader. 
java:214) 
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248) 
        at java.lang.Class.forName0(Native Method) 
        at java.lang.Class.forName(Class.java:169) 
        at 
org.apache.myfaces.trinidadbuild.plugin.faces.generator.taglib.Abstra 
ctTagGenerator.resolveType(AbstractTagGenerator.java:247) 
        at 
org.apache.myfaces.trinidadbuild.plugin.faces.generator.taglib.Trinid 
adValidatorTagGenerator.writeSetProperty(TrinidadValidatorTagGenerator.java:96 
) 
        at 
org.apache.myfaces.trinidadbuild.plugin.faces.generator.taglib.Abstra 

We need to handle this accordingly



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to