简体   繁体   中英

“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?

通过在运行配置的“主要”选项卡上的“主类”字段中明确添加“com.google.gwt.dev.DevMode”来实现该方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM