[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4496) Seam 2 EAR project deployed on EAP5 - using RichFaces API in Seam EJB component causes java.lang.NoClassDefFoundError
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Dec 4 07:04:30 EST 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12498249#action_12498249 ]
Pete Muir commented on JBSEAM-4496:
-----------------------------------
Tiho, isn't this a RF issue?
> Seam 2 EAR project deployed on EAP5 - using RichFaces API in Seam EJB component causes java.lang.NoClassDefFoundError
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-4496
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4496
> Project: Seam
> Issue Type: Bug
> Affects Versions: 2.1.2.GA, 2.2.0.GA
> Reporter: Tihomir Surdilovic
>
> When creating a Seam 2 EJB project and deploying it in EAP5, if a Seam EJB component uses the RichFaces API directly, for example to create a HtmlDropDownMenu programatically causes exception:
> Caused by: java.lang.NoClassDefFoundError: org/richfaces/component/html/HtmlDropDownMenu
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.privateGetPublicMethods(Class.java:2547)
> at java.lang.Class.getMethods(Class.java:1410)
> at org.jboss.seam.Component.hasAnnotation(Component.java:1158)
> at org.jboss.seam.Component.<init>(Component.java:218)
> at org.jboss.seam.Component.<init>(Component.java:205)
> at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1186)
> ... 73 more
> Caused by: java.lang.ClassNotFoundException: org.richfaces.component.html.HtmlDropDownMenu from BaseClassLoader at 5c594008
> at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> ... 81 more
> Same project setup and code works without issues in EAP 4.3.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list