-
1. Re: Seam in Jboss5.1.0
rsprasad Aug 16, 2010 2:47 AM (in response to rsprasad)With
richfaces-api-3.3.3.Final.jar,
richfaces-impl-3.3.3.Final.jar,
richfaces-impl-jsf2-3.3.3.Final.jar,
richfaces-ui-3.3.3.Final.jarI get error:
java.lang.RuntimeException: Could not create Component: org.jboss.seam.resteasy.resourceAdapter
..
..
..
Caused by: java.lang.NoClassDefFoundError: org/jboss/resteasy/specimpl/UriInfoImpl -
2. Re: Seam in Jboss5.1.0
ctomc Aug 16, 2010 3:51 AM (in response to rsprasad)you are missing resteasy jars....
-
3. Re: Seam in Jboss5.1.0
rsprasad Aug 16, 2010 5:34 AM (in response to rsprasad)When jboss-seam-resteasy.jar that come with jboss-seam-2.2.1.CR1 is deployed as part of ear
at the ear level and configured in application.xml, the error still occurs.
Obviously because the jar does not contain org.jboss.seam.resteasy.ResourceAdapter.class the exception points to.
But it contains org.jboss.seam.resteasy.ResteasyResourceAdapter.class and
org.jboss.seam.resteasy.ResteasyResourceAdapter$1.classBut the Exception points to
..
..
java.lang.RuntimeException: Could not create Component: org.jboss.seam.resteasy.resourceAdapter
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1205)..
and
Caused by: java.lang.NoClassDefFoundError: org/jboss/resteasy/specimpl/UriInfoImpl
..
..
..
Caused by: java.lang.ClassNotFoundException: org.jboss.resteasy.specimpl.UriInfoImpl
..
..
..The same jar does not contain org.jboss.resteasy.specimpl.UriInfoImpl either
So which set of jars to be used for resteasy.
-
4. Re: Seam in Jboss5.1.0
rsprasad Aug 16, 2010 7:48 AM (in response to rsprasad)Thanks, Tomaz.
This error is now fixed. Added jaxrs-api-2.0.1.GA.jar and resteasy-jaxrs-2.0.1.GA.jar from resteasy-jaxrs-2.0.1.GA. -
5. Re: Seam in Jboss5.1.0
rsprasad Aug 24, 2010 9:33 AM (in response to rsprasad)resteasy jars that come with jboss-seam-2.2.0.GA helps. No seperate download of resteasy jars required.
Thanks.Saravana Prasad