"Primary Type Not Specified" with GWT and Eclipse Juno 4.2

After upgrading to Eclipse Juno 4.2 (via a new installation) and installing the GWT plugin (3.0.0v201206271046-rel-r42) from http://dl.google.com/eclipse/plugin/4.2 I cannot start the GWT application.

I set up the GWT character of my project the same way as with Eclipse 3.7, but when I launch my application, after choosing my entry point, the crash starts with: "Primary type not specified"

It seems that gwt-dev.jar is not included. The referenced GWT library is not added to my project. Therefore, I needed to re-select GWT 2.4 in my project configuration. Then gwt-dev.jar is added correctly in the "Linked Library" section. But I still get the same error on startup.

Any idea?

+8
java eclipse gwt eclipse-juno
source share
1 answer

This was made difficult by explicitly adding "com.google.gwt.dev.DevMode" to the "Main class" field of the "Home" tab in the launch configuration

+17
source share

All Articles