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
4 comments
Comment actions Permalink

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.

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

---
Original message URL: http://www.jetbrains.net/devnet/message/5256919#5256919



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

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
0
Comment actions Permalink

You also need to add  'Dependencies' tab)

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

---
Original message URL: http://www.jetbrains.net/devnet/message/5257053#5257053



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I have the same problem. Could you tell me what is 'Dependencies' tab and where should I add it ?
Thanks

0

Please sign in to leave a comment.