myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2425) New plugins issue a warning on unavailability of uncompiled code
Date Wed, 06 Nov 2013 18:09:18 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815085#comment-13815085
] 

Scott O'Bryan commented on TRINIDAD-2425:
-----------------------------------------

I actually found a solution to this by editing the pom of trinidad.  Our plugins are not aware
of the project dependencies.  Until that code is written, we need to add a dependency list
when defining the plugin.  I'll handle this as a Trinidad bug.

> 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
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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)

Mime
View raw message