当我试图编译使用GWT的Eclipse动态Web应用程序时,我会得到以下错误消息:
错误无法在类路径上找到'GWTModule/gwt/xml.gwt.xml‘;可能是一个错误,或者您可能忘记为源包含类路径条目?
我不知道是什么引起了这个问题。我的Eclipse构建路径包含在其他GWT旁边--不相关的jars/libs GWT (2.1.0)。
我的GWTModule.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.1.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.1.0/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.google.gwt.user.User" />
<source path="client"/>
<entry-point class="gwttest.ui.client.TestUI" />
</module>由于this problem,没有设置环境类路径变量。
我在一个全新的GWT项目中遇到了类似的问题,但是在那里可以编译该项目--在运行时GWT日志中显示了错误消息.
我的系统:
F 213
发布于 2010-11-16 15:28:25
您的GWTModule.xml应该是GWTModule.gwt.xml,除非这是您问题中的一个错误。
https://stackoverflow.com/questions/4195149
复制相似问题