Hi, Finally I found the problem: I use only the jersey libraries like jersey-core-1.7.jar. This is fine and the application will rund REST services with only this libraries, but if I generate JSON it will search for the jackson library which provides a JSON array provider.
By simple adding the jackson*.jar libs the problem is gone. Adam On 25 Mai, 21:33, Adam Musial-Bright <[email protected]> wrote: > Hi, > > in my java application I'm using Jersey for REST services. Everything > works perfect, but I get this error which consumes a lot of CPU > (13830cpu_ms) and freezes the app for few seconds. > > com.sun.jersey.core.spi.component.ProviderFactory > __getComponentProvider: The provider class, class > com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$App, could > not be instantiated. Processing will continue but the class will not > be utilized > java.lang.SecurityException: Unable to get members for class > com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$App > at com.google.appengine.runtime.Request.process- > d73c0d822f527031(Request.java) > at java.lang.Class.getDeclaredMethods(Class.java:252) > > Any idea how I can solve this problem? > > Thanks > Adam -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
