User Tools

Site Tools


jersey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jersey [2013/11/22 10:19]
mihael created
jersey [2013/11/22 10:22]
mihael
Line 5: Line 5:
  
 ==== WadlContextResolver ==== ==== WadlContextResolver ====
-<​code>​+<​code ​Error Message>
 com.sun.jersey.core.spi.component.ProviderFactory|_ThreadID=33;​_ThreadName=Thread-2;​|The provider class, class com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver,​ could not be instantiated. Processing will continue but the class will not be utilized com.sun.jersey.core.spi.component.ProviderFactory|_ThreadID=33;​_ThreadName=Thread-2;​|The provider class, class com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver,​ could not be instantiated. Processing will continue but the class will not be utilized
 java.lang.InstantiationException:​ com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver java.lang.InstantiationException:​ com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver
Line 11: Line 11:
   SEVERE: The inner class com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver is not a static inner class and cannot be instantiated   SEVERE: The inner class com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver is not a static inner class and cannot be instantiated
 </​code>​ </​code>​
 +
 +The problem is that there are two different versions of Jersey on the classpath, probably one from the application container and one from the application itself. Remove the one from the application and everything should be fine.
 +
 +
 +{{tag>​java}}
jersey.txt ยท Last modified: 2013/11/22 10:22 by mihael