按照本教程,我可以使用 eclipse 执行 GWT 应用程序。我可以访问该应用程序http://127.0.0.1:8888/De_vogella_gwt_helloworld.html?gwt.codesvr=127.0.0.1:9997。


然后,我用谷歌搜索找到一种将应用程序部署到 tomcat 的方法,我找到了这个网站。将 GWT 应用程序导出到 tomcat 有两步方法。
- 将 src 目录导出到 jar 文件中。
- 使用ant创建一个war文件。
hello.war我将文件复制到/Library/Tomcat/webapps中,并打开浏览器localhost:8080/hello以获取此错误。

当我单击 webapps 目录中的 HTML 文件时,我认为包装有问题。

可能有什么问题?

