I read the the last GPE integrated well with maven projects.
So I create a maven project from cmd line using the maven-gae-plugin.
Then imported into eclipse as a maven project.
However when I run it as "Web Application" (GPE) it fails with this error:
Unable to discover the Google App Engine SDK root but was instead loaded from file:/Users/neo/.m2/repository/com/google/appengine/appengine-tools-sdk/1.6.6/appengine-tools-sdk-1.6.6.jar. Specify -Dappengine.sdk.root to override the SDK location.
In project's Properties -> Google -> Google App Engine, I've the sdk point to /Users/neo/.m2/repository/com/google/appengine/appengine-java-sdk/1.6.6/appengine-java-sdk-1.6.6 (which is a valid sdk directory).
What I am doing wrong?
We also ran in the this problem. It seems to be a class loading problem. Simply move tools up on the list so it loads first.
Unzip the file appengine-tools-sdk-1.6.6.jar and it will create a folder appengine-tools-sdk-1.6.6
It will work if you put the following in VM arguments in your run configuration
-Dappengine.sdk.root=/Users/neo/.m2/repository/com/google/appengine/appengine-tools-sdk/1.6.6/appengine-tools-sdk-1.6.6
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.