gpt4 book ai didi

java - 错误 : Could not find or load main class com. google.gwt.dev.GWTShell

转载 作者:太空狗 更新时间:2023-10-29 12:46:10 24 4
gpt4 key购买 nike

好的,我正在学习 libgdx 教程。这是有问题的教程:http://www.youtube.com/watch?v=WP5qA_kgV6Y&feature=c4-overview-vl&list=PL8E5pNjh8OR3f6X4tpjt0M0By6z0sB4MP

我刚刚使用 gdx-setup-ui.jar 文件创建了一个基本程序。当我收到以下错误时,我正在尝试将 html 部分作为 Web 应用程序运行:

错误:无法找到或加载主类 com.google.gwt.dev.GWTShell

我不确定我做错了什么,而且我在谷歌上查找它的帮助也很少。

我没有根据 gdx-setup-ui.jar 文件给你的基本代码更改我的代码,所以这应该不是问题。

最佳答案

您可能需要将 Google 的 GWT 扩展安装到 Eclipse 中。参见 http://www.gwtproject.org/usingeclipse.html

它被列为 Prerequisite在 Libgdx 维基上。我以为它在其他地方更明确地提到过,我找不到它......

如果您安装了 GWT,您可能需要“修复”HTML 项目:

Open the "Problems" view. You should see several errors about "The web.xml file does not exist". Just right-click on the error here, and Quick Fix it. You'll get a dialog for which you just need to click Finish.

关于java - 错误 : Could not find or load main class com. google.gwt.dev.GWTShell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17892266/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com