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

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

问题描述

有时候,当我开始的的Eclipse 的(Java EE的IDE为Web开发,靛蓝SR 1)在我的 MacOSX的狮的,我的 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. 重新启动机器。

使用$ P $任何帮助pventing再次发生将是最欢迎的问题。

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

推荐答案

我相信这个问题是因为发生的 Eclipse中有大约可用一些陈旧的设置/链接GWTs

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

因此​​,建立在克里斯Cashwell 的,我提出以下建议href=\"http://stackoverflow.com/a/8540814/974531\">了答案:

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


  1. 从构建路径中删除所有GWTs。(您可能有多个GWT构建路径上。)

  2. 删除在Eclipse 链接的所有GWTs项目>性状>谷歌> Web Toolkit的方式>配置SDK

  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天全站免登陆