Why does google app engine fail to find "org/datanucleus/jpa/exceptions/NotProviderException" ?? The jar file is in the classpath

8 views
Skip to first unread message

user198923 via StackOverflow

unread,
Oct 11, 2014, 6:29:41 PM10/11/14
to google-appengin...@googlegroups.com

I am building a google app engine supported application. When I am trying to read the data from the app engine datastore (via a call to the backend API), I get the following error:

(Note: That I currently have the datanucleus.jpa... jar file in the standard lib directory of the webinf folder. That is where the class that is being reported as "not found" exists.)

Error, as reported by google app engine logs

com.google.api.server.spi.SystemService invokeServiceMethod: org/datanucleus/jpa/exceptions/NotProviderException
java.lang.NoClassDefFoundError: org/datanucleus/jpa/exceptions/NotProviderException
    at com.google.appengine.runtime.Request.process-3104daaaf762dd6a(Request.java)
    at java.lang.Class.getDeclaredConstructors0(Native Method)

Error, as reported within my app.

10-11 18:22:59.415   W/System.err﹕ com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 Service Unavailable
10-11 18:22:59.415  W/System.err﹕ {
10-11 18:22:59.415  W/System.err﹕ "errors" : [ {
10-11 18:22:59.415  W/System.err﹕ "domain" : "global",
10-11 18:22:59.415  W/System.err﹕ "reason" : "backendError",
10-11 18:22:59.415  W/System.err﹕ "message" : "java.lang.NoClassDefFoundError: org/datanucleus/jpa/exceptions/NotProviderException"
10-11 18:22:59.415  W/System.err﹕ } ],
10-11 18:22:59.415  W/System.err﹕ "code" : 503,
10-11 18:22:59.415  W/System.err﹕ "message" : "java.lang.NoClassDefFoundError: org/datanucleus/jpa/exceptions/NotProviderException"
10-11 18:22:59.415  W/System.err﹕ }
10-11 18:22:59.415  W/System.err﹕ at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(SourceFile:113)
10-11 18:22:59.415  W/System.err﹕ at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(SourceFile:40)
10-11 18:22:59.415  W/System.err﹕ at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.a(SourceFile:312)


Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/26319920/why-does-google-app-engine-fail-to-find-org-datanucleus-jpa-exceptions-notprovi
Reply all
Reply to author
Forward
0 new messages