GAE JDO + GWT not working in IntelliJ Idea
Hi, I am trying to get GWT working with GAE, but it isnot working in IntelliJ idea. I am using the IntelliJ idea plugin for JDO persistene, but am getting the error "No API environment is registered for this thread." Am attaching my Idea based project to this mail. Any pointers would be very helpful Thanks
Attachment(s):
GwtDataStoreTest.rar.zip
Please sign in to leave a comment.
You need to start GWT run configuration with App Engine server instead of default Jetty. In next EAP build it will be possible by choosing the
corresponding option in GWT run configuration. To do that in the current build you need to add
-server com.google.appengine.tools.development.gwt.AppEngineLauncher
parameter in "Shell parameters" field and add
-javaagent:/lib/agent/appengine-agent.jar
to "VM Parameters" field in GWT run configuration.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Nikolay, thanks for your reply.
Unfortunately, i am still not able to get it working
now i am getting the error
Unable to load server class 'com.google.appengine.tools.development.gwt.AppEngineLauncher'
java.lang.ClassNotFoundException: com.google.appengine.tools.development.gwt.AppEngineLauncher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java:92)
at com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java:25)
at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:225)
at com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java:29)
at com.google.gwt.dev.DevMode.main(DevMode.java:250)
Any ideas?
Thanks
You also need to add 'Dependencies' tab)
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I have the same problem. Could you tell me what is 'Dependencies' tab and where should I add it ?
Thanks