[jboss-user] [Beginner's Corner] - Re: ClassNotFoundException using EJB in RESTfull Application

jaikiran pai do-not-reply at jboss.com
Thu Jan 12 12:41:17 EST 2012


jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: ClassNotFoundException using EJB in RESTfull Application"

To view the discussion, visit: https://community.jboss.org/message/646528#646528

--------------------------------------------------------------
> 19:47:44,540 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/BF3AccessRestrictionJSON].[de.h3llghost.service.RESTService]] (http-localhost-127.0.0.1-8080-1) Allocate exception for servlet de.h3llghost.service.RESTService: java.lang.ClassNotFoundException: com.DataAccessObjectRemote from [Module "deployment.BF3AccessRestrictionJSON.war:main" from Service Module Loader]
>           at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
>           at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
>           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
>           at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
>           at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
>           at java.lang.Class.getDeclaredFields0(Native Method) [:1.7.0]
>           at java.lang.Class.privateGetDeclaredFields(Unknown Source) [:1.7.0]
>           at java.lang.Class.getDeclaredFields(Unknown Source) [:1.7.0]
>           at org.jboss.resteasy.core.PropertyInjectorImpl.populateMap(PropertyInjectorImpl.java:139) [resteasy-jaxrs-2.3.0.GA.jar:]

Can you post the output of:

jar -tf BF3AccessRestrictionJSON.war

and are you sure none of the classes have references to com.DataAccessObjectRemote (maybe some stale class is lying around)?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/646528#646528]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120112/e5a23ced/attachment.html 


More information about the jboss-user mailing list