SDM for IntelliJ IDEA 14 EAP doesn't work with the multi module project

718 views
Skip to first unread message

Bademus l.

unread,
Sep 18, 2014, 10:50:51 AM9/18/14
to google-we...@googlegroups.com
Doesn't work with the multi module project
mvn archetype:generate \
   -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ \
   -DarchetypeGroupId=net.ltgt.gwt.archetypes \
   -DarchetypeArtifactId=modular-requestfactory \
   -DarchetypeVersion=1.0-SNAPSHOT

Checked with Idea 138.2210.3, GWT 2.7.0-SNAPSHOT

Some visual diff in RunSettings:
No server field
Blank Start page

upd.
It looks like simple GWT project created by Idea Wizard doesn't work too.

ref: https://plus.google.com/u/0/photos/+BrandonDonnelson/albums/6057812143232345601/6057812151394824098?sqi=116543000751323604177&sqsi=8278da9c-36b2-4496-a56b-469fb4da0df7&pid=6057812151394824098&oid=111739836936169749229

Thanks.

Bademus l.

unread,
Sep 20, 2014, 3:24:02 PM9/20/14
to google-we...@googlegroups.com
Upd
Running debug for GWT project created by IntelliJ Idea new-project-wizard

Running GPE launcher for GWT-2.6.x version.
Exception in thread "main" java.lang.NoSuchMethodError: com.google.gwt.dev.javac.CompilationStateBuilder.init(Lcom/google/gwt/core/ext/TreeLogger;Ljava/io/File;)V
at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:943)
at com.google.gwt.dev.DevMode.doStartup(DevMode.java:498)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1097)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:863)
at com.google.gwt.dev.DevMode.main(DevMode.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

Peter Paulovic

unread,
Nov 13, 2014, 4:50:04 PM11/13/14
to google-we...@googlegroups.com
Deleting directory ~/idea-IU-139.224.1/plugins/GWTStudio/lib/sdm-launcher resolved this problem for me. Problem was the superdevmode-launcher-legacy.jar in classpath.

Brandon Donnelson

unread,
Nov 13, 2014, 6:33:48 PM11/13/14
to google-we...@googlegroups.com
Looks like a bug, I'll forward this on to the dev. 

Brandon Donnelson

unread,
Nov 14, 2014, 3:42:27 PM11/14/14
to google-we...@googlegroups.com
This looks like it isn't using GWT 2.7, could you add gwt-dev.jar to the classpath and see if that fixes it. It's possible for some reason gwt-dev.jar didn't get added to the runtime path and use the About class to get the right version. You shouldn't see this "Running GPE launcher for GWT-2.6.x version." when running GWT 2.7. GWT 2.7.0-RC1 will also fix this. 

This looks like a configuration issue and the classpath wasn't updated. 

Brandon

P.G.Taboada

unread,
Dec 17, 2014, 9:29:19 PM12/17/14
to google-we...@googlegroups.com
Adding gwt-dev did not solve the problem.
Renaming the jar  superdevmode-launcher-legacy.jar  in GWTStudio solved the issue for me.
Reply all
Reply to author
Forward
0 new messages