I solved the issue after adding dependency
(datanucleus-api-jdo-3.0.0-m5.jar) and movong jdoconfig.xml to /META-INF/
But I encountered another issue.
Caused by: javax.jdo.JDOUserException: You have either specified for this
PMF to use a "persistence-unit" of "xxx" (yet this doesnt exist!) or you
called JDOHelper.getPersistenceManagerFactory with "xxx" as the name of a
properties file (and this doesnt exist in the CLASSPATH)
In jdoconfig.xml, what VALUE should be used for <property
name="javax.jdo.option.PersistenceUnitName" value="xxx"/>?
Does anyone know?
Thanks
On Monday, July 23, 2018 at 7:27:22 AM UTC-7, George (Cloud Platform
Support) wrote:
>
> If you are looking at the CLASSPATH at execution time, you get a different
> value from System.getenv than, let's say, from a browser, your IDE or a
> console. You may consider using a line such
> as System.getProperty("java.class.path"); You should make sure that your
> jar file with a META-INF/services/javax.jdo.PersistenceManagerFactory entry
> is present in the CLASSPATH.
>
> It may be appropriate to remind you now that we mean to exchange general
> opinions here, on trends and on issues of general nature touching the app
> engine. For coding and programming architecture, you may be better served
> in a forum such as stackoverflow, where experienced programmers are within
> reach and ready to help.
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/b6248a85-5c40-4c45-b76e-19c728c9c88f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.