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

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

问题描述

有时,当我在 MacOSX Lion 上启动 Eclipse(Web 开发人员的 Java EE IDE,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. 重启机器.

欢迎任何帮助防止问题再次发生.

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>Properties>Google>Web Toolkit>Configure SDKs 中删除 Eclipse 中链接的所有 GWT,.
  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.

有时,我仍然需要做一个项目>干净,但现在很少见了.

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

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

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