[seam-issues] [JBoss JIRA] Created: (JBSEAM-4496) Seam 2 EAR project deployed on EAP5 - using RichFaces API in Seam EJB component causes java.lang.NoClassDefFoundError

Tihomir Surdilovic (JIRA) jira-events at lists.jboss.org
Thu Dec 3 16:35:29 EST 2009


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.2.0.GA, 2.1.2.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 works fine on EAP 4.3. Uploaded is a project created with JBDS 2.1 which illustrates issue.


-- 
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