“无法在您的类路径上找到XXX.gwt.xml” GWT错误 [英] "Unable to find XXX.gwt.xml on your classpath" error in GWT

查看:159
本文介绍了“无法在您的类路径上找到XXX.gwt.xml” GWT错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



无法找到ProjectName.gwt.xml你的类路径



你如何解决这个错误?

解决方案

事实证明,当您将一些GWT项目调试为Web应用程序时,Eclipse不会将模块名称(即gwt.xml文件)附加到参数列表中。我尝试手动添加它,但忘记添加包含gwt.xml文件的完整包名称。该模块应该被称为com.company.project.Project.gwt.xml,而不仅仅是Project.gwt.xml。




After importing a Maven GWT project into Eclipse the debugger doesn't work, complaining that it's

Unable to find ProjectName.gwt.xml on your classpath

How do you fix this error?

解决方案

It turns out that when you debug some GWT project as Web Applications, Eclipse does not append the module name (i.e. the gwt.xml file) to the list of arguments. I tried adding it manually, but forgot to add the complete package name that houses the gwt.xml file. The module should have been referred to as com.company.project.Project.gwt.xml, not just Project.gwt.xml.

这篇关于“无法在您的类路径上找到XXX.gwt.xml” GWT错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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