Differences
This shows you the differences between two versions of the page.
jersey [2013/11/22 11:19] |
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; | ||
+ | java.lang.InstantiationException: | ||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | 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> |