google-app-engine


DataNucleus JDO with Google Cloud Tools for Eclipse


I am using the relatively new Google Cloud Tools Plugin for Eclipse, replacing the Google Plugin for Eclipse. I have converted my App Engine project to the environment of the new plugin, but now the app stopped working.
I get the following error when requesting a servlet that uses a Google DataStore entry:
javax.jdo.JDOUserException: Persistent class \"Class
CLASSNAME does not seem to have been enhanced. You may want to rerun
the enhancer and check for errors in the output.\" has no table in the
database, but the operation requires it. Please check the specification
of the MetaData for this class.
The GPE (Google Plugin Eclipse) had some options for this: https://developers.google.com/eclipse/docs/appengine_orm and https://developers.google.com/eclipse/docs/appengine_datanucleus.
Unfortunately there are no settings for this in the new plugin. I tried to add the DataNucleus Plugin for Eclipse, but then I get the error: Error: Could not find or load main class org.datanucleus.enhancer.DataNucleusEnhancer, when it tries to enhance the classes.
I already tried this too: https://cloud.google.com/appengine/docs/standard/java/datastore/jdo/overview-dn2#Enhancing_Data_Classes, but I don't get how to use this with the new plugin.
I use all the latest versions of Google Cloud (App Engine SDK 1.9.50).
Any help is greatly appreciated!
The new Cloud Tools for Eclipse plugin does not support Datanucleus, the recommended way is to use the Datanucleus Maven plugin to do enhancing: http://www.datanucleus.org/products/datanucleus/jdo/enhancer.html#maven

Related Links

Redirect To Specific URL in Google app engine
Exporting data to Google Spreadsheet from Google App Engine (Java version)
How is md5Hash calculated for com.google.appengine.api.blobstore.BlobInfo
Bad response to a BigQuery query: kind:discovery#restDescription instead of bigquery#queryResults
Google app engine jobs in datastore admin freeze
BadValueError('Property %s must be a float' % self.name) BadValueError: Property USD must be a float
HttpError 400 in jobs.get(jobId,ProjectId) even with right values
GAE - creating an app issue
Is NDB model _post_delete_hook called after transaction? OR Best way to clean a blob from the blobstore when its referencing entity is deleted
If verify Google user logged in
Moving HTML files to their own directory in Google App Engine (Using Jinja2 Templates) - Error 13
AppEngine local unit testing guide for Python 2.7 Runtime
No persistence providers available for “transactions-optional”
List Children of null parent?
provisioning_oauth_example in gdata-python: 2-legged and 3-legged errors
GWT Compile everytime I deploy to Appengine

Categories

HOME
batch-file
jpa
c++11
linkedin
rdbms
nuget
scripting
parameters
spring-session
python-multithreading
boto3
augeas
intercom
atlassian
glyphicons
vuejs
google-picker
shortest-path
bourbon
boost-icl
blade
joptionpane
epsilon
game-theory
jasmine-node
user-defined-functions
dumpbin
fossil
xajax
cd
android-augmented-reality
chef-solo
oracle-service-bus
http-request
wc
vaadin-elements
fwrite
ovf
rserve
zenhub
azure-cli
google-photos
android-instrumentation
rocks
webjars
installshield-2010
firebase-security
uiactionsheet
aspen
exim4
qbxml
piracy-prevention
grgit
opserver
evolus-pencil
atoi
amiga
filesplitting
ssis-data-flow
entry-point
cbind
buffering
conditionaltagsupport
drupal-nodes
bin
gd-graph
qi4j
paginator
failing-tests
stress
gobject-introspection
jquery-tools
tournament
qglwidget
updatesourcetrigger
burndowncharts
glui
lalr
cldc
escrow
xpsdocument
technical-debt
httpcookie
wcf-proxy
pnrp
idatareader

Resources

Encrypt Message