|
From: Kariem H. <kar...@gm...> - 2014-06-23 19:27:09
|
Hi, I think my problem is well represented in https://issues.jboss.org/browse/RESTEASY-1049, at least according to the last comment by Daan. When I run the code I used to run on 3.0.6 now with 3.0.8, I get the following error: java.lang.NoClassDefFoundError: org/jboss/resteasy/cdi/CdiInjectorFactory at org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.isValidatable(GeneralValidatorImpl.java:216) at org.jboss.resteasy.core.ResourceMethodInvoker.<init>(ResourceMethodInvoker.java:124) at org.jboss.resteasy.core.ResourceMethodRegistry.processMethod(ResourceMethodRegistry.java:280) at org.jboss.resteasy.core.ResourceMethodRegistry.register(ResourceMethodRegistry.java:251) at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:221) at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:193) at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:179) at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:156) at org.jboss.resteasy.plugins.guice.ModuleProcessor.processInjector(ModuleProcessor.java:57) at org.jboss.resteasy.plugins.guice.GuiceResteasyBootstrapServletContextListener.contextInitialized(GuiceResteasyBootstrapServletContextListener.java:58) ... 24 more lines Caused by: java.lang.ClassNotFoundException: org.jboss.resteasy.cdi.CdiInjectorFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 36 more I have opened a pull request (https://github.com/resteasy/Resteasy/pull/511) in order to avoid having to include resteasy-cdi. Please tell me, if this is ok, or I can do more. Thank you, Kariem |