项目XXX在其构建路径上没有任何GWT SDK [英] The project XXX does not have any GWT SDKs on its build path

查看:619
本文介绍了项目XXX在其构建路径上没有任何GWT SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时候,当我在我的MacOSX Lion 上启动Eclipse (Java EE IDE for Web Developers,Indigo SR 1)时,我的 GWT(2.4.0)项目最初无法编译

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.

Eclipse在问题部分显示以下消息:

Eclipse displays the following message in the "Problems" section:

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

以下是有时工作的半解决方案的列表(我通常按照这个顺序来尝试):

Here is a list of semi-solutions that sometimes work (I normally try them in this order):


  1. 项目>清理

  2. 将GWT SDK删除并重新添加到构建路径。

  3. 重新启动机器。 >
  1. Project > Clean.
  2. Remove and re-add GWT SDK to the build path.
  3. Restart the machine.

对于防止重新出现问题的任何帮助将是非常受欢迎的。

Any help with preventing the problem from re-occurring would be most welcome.

推荐答案

我相信问题出现是因为 Eclipse有一些关于可用/链接的GWT的陈旧设置

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

因此,建议您使用 Chris Cashwell 的答案,建议您:

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


  1. 从构建路径中删除所有GWT。(您的构建路径上可能有多个GWT)。 >
  2. 删除 Project>属性> Google> Web Toolkit>配置SDK 中的所有在Eclipse中链接的GWT li>
  3. 仅添加最新的GWT,并将其设为默认。

  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.

编辑:有时,我还需要d o a 项目>清洁,但现在很少见。

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

这篇关于项目XXX在其构建路径上没有任何GWT SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆