将GWT 2.7.0应用程序部署到Tomcat时遇到的问题 [英] Issues with deploying GWT 2.7.0 app to Tomcat

查看:118
本文介绍了将GWT 2.7.0应用程序部署到Tomcat时遇到的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Eclipse中运行我的GWT 2.7.0应用程序时,一切正常。

When I run my GWT 2.7.0 app in Eclipse, all is fine.

编译应用程序右键单击项目> Google> GWT编译。我建立我的战争。

I compile the app Right click on project > Google > GWT Compile. I build my war. Copy the war in the webapps directory.

我得到第一页ok(静态HTML),然后当我点击应用程序时,过了一段时间,我收到一条消息框中显示:

I get the first page ok (static HTML), then when I click on the app, after some time, I get a message box that says:

The page at xxx:8081 says:

Couldn't load app from Super Dev Mode
server at http://xxx:9876.
Please make sure this server is ready.
Do you want to try again?


推荐答案

以下是发生的事情:

在调试/部署模式下,正如我在eclipse中所做的那样,一个曾经与GWT客户端100%兼容的库已经发展到现在不再是了。它似乎该库没有重新编译,而我正在测试它(不需要重新编译),但是当我编译进行部署时,它确实想重新编译这个库,失败了,但是无论如何建立了这个战争(可能缺乏对结果进行测试),部署战争,并得到这个错误......

In debug / deployment mode, as I was working within eclipse, a library which used to be 100% compatible with GWT Client Side has evolved and is not anymore. It seems that the library was not recompiled while I was testing it (no need for recompilation) but when I compiled for deployment it did want to recompile the library, failed, but build the war anyway (probably lack of testing on the result), deployed the war, and got this error...

这篇关于将GWT 2.7.0应用程序部署到Tomcat时遇到的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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