Differences

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

Link to this comparison view

jersey [2013/11/22 11:22]
jersey [2021/04/05 11:23] (current)
Line 1: Line 1:
 +====== Jersey ======
 +Java REST server and client library from Oracle.
  
 +===== FAQ =====
 +
 +==== WadlContextResolver ====
 +<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
 +java.lang.InstantiationException: com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver
 +  SEVERE: The class com.sun.jersey.server.impl.application.WebApplicationImpl$1WadlContextResolver is a not a public 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>
 +
 +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}}