Vaadin vs GWT Superdev Mode

Hi!

I have a simple vaadin widget maven project.
IDEA imports it correctly, and adds a GWT facet too. At GWT facet i see "GWT from Vaadin 7.4.4 in Maven Repository is used ".
I've created a GWT run confguration based on this blog post: http://blog.jetbrains.com/idea/2014/09/intellij-idea-14-brings-better-gwts-super-dev-mode-support/

But it is not working, i get this error:

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)

Vaadin ships with an own fork of GWT 2.7, and does not contain the missing method.

After some invesitagtion i've deleted 'idea-IU-141.713.2/plugins/GWTStudio/lib/sdm-launcher/superdevmode-launcher-legacy.jar'.
Now superDevMode code server starts, but my application does not.

Should GWT superdev mode work with vaadin?

1 comment
Comment actions Permalink

I just want to chime in with a "me too" on this problem.  I installed a fresh copy of IntelliJ IDEA 15 professional, and was trying to debug a GWT 2.7.0 application using SuperDevMode.  I found that I had to rename this jar file, to prevent it from being used on the classpath, in order to get SuperDevMode to launch properly.  Before doing so, I was getting the "Running GPE launcher for GWT-2.6.x version." output line which is obviously not what we would hope to see.  Not sure what the purpose of this jar is.

/Applications/IntelliJ IDEA 15.app/Contents/plugins/GwtStudio/lib/sdm-launcher/superdevmode-launcher-legacy.jar

0

Please sign in to leave a comment.