8

After upgrading to Eclipse Juno 4.2 (through a fresh install) and installing GWT Plugin (3.0.0v201206271046-rel-r42) from http://dl.google.com/eclipse/plugin/4.2, I can't start my GWT application.

I configure the GWT nature of my project just like with Eclipse 3.7 but when I run my application, after selecting my entry point, the start fails with: "Main type not specified"

It appears gwt-dev.jar is not included. GWT referenced library are not added in my project. So I needed to reselect GWT 2.4 in my project configuration. Then, gwt-dev.jar is added correctly in the "Referenced Library" section. But I still get the same error at startup.

Any idea?

blacelle
  • 2,199
  • 1
  • 19
  • 28

1 Answers1

17

It has been workarounded by adding explicitely "com.google.gwt.dev.DevMode" in the "Main class" field on the "Main" tab in the run configuration

apetrelli
  • 718
  • 4
  • 18
blacelle
  • 2,199
  • 1
  • 19
  • 28
  • 1
    Quick hint for people here as this has nothing to do with a class called "Main" that I originally expected: 1) Select the App Engine Project 2) Go to the Run Menu 3) Select Run Configurations 4) Select your main .jsp startup file 5) Paste in "com.google.gwt.dev.DevMode" for the Main class value which has a "Search" button to the right. – fIwJlxSzApHEZIl Nov 10 '14 at 20:16