Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Main type not specified" with GWT and Eclipse Juno 4.2

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?

like image 418
blacelle Avatar asked Jul 02 '12 14:07

blacelle


1 Answers

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

like image 110
blacelle Avatar answered Nov 15 '22 19:11

blacelle