The project XXX does not have any GWT SDKs on its build path

前端 未结 7 1100
悲&欢浪女
悲&欢浪女 2020-12-08 10:38

Sometimes, when I start Eclipse (Java EE IDE for Web Developers, Indigo SR 1) on my MacOSX Lion, my GWT (2.4.0) project initially fails to compile<

7条回答
  •  误落风尘
    2020-12-08 11:13

    I believe the problem was occurring because Eclipse had some stale settings about available/linked GWTs.

    Therefore, building on the answer by Chris Cashwell, I recommend the following:

    1. Remove all GWTs from your build path. (You might have more than one GWT on your build path.)
    2. Remove all GWTs linked in Eclipse in Project>Properties>Google>Web Toolkit>Configure SDKs, .
    3. Add only the latest GWT, and make it default.

    EDIT: Sometimes, I still need to do a Project > Clean, but this is rare now.

提交回复
热议问题