在哪里写GWT -noserver选项以避免码头? [英] Where to write GWT -noserver option to avoid jetty?

查看:96
本文介绍了在哪里写GWT -noserver选项以避免码头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某种原因,我需要我的GWT应用程序通过tomcat服务器启动。我做了如下:

1)我安装了用于eclipse的WTP

2)配置了tomcat 7作为服务器启动并运行

3 )创建一个动态Web项目并迁移我的GWT应用程序

现在我不知道在哪里写入 -noserver 选项,我无法找到一个清晰的分步说明,


有人可以引导我通过在tomcat上以调试模式运行GWT吗?



提前致谢

解决方案

是的,正如Igor Klimer所说的,答案在Google的指南中提到过,真的很清楚。对于那些很难理解Google在指南中所说的内容,仍然不知道在哪里放置 -noserver 选项的人,请按以下步骤操作:



1)在运行配置窗口中,选择项目用来运行的配置。

2)选择参数程序参数框中填写 -noserver 选项。

4)申请



完成! :)

For some reason I need my GWT application to start over a tomcat server. I did as follows:
1) I installed WTP for eclipse
2) Configured tomcat 7 as a server which is up and running
3) Create a dynamic web project and migrate my GWT app
Now i don't know where to write -noserver option and i couldn't find a clear step-by-step instruction over the internet.
Can someone please guide me through the way to run GWT in debugging mode over tomcat?

Thanks in advance

解决方案

Yes, as Igor Klimer said, the answer is mentioned in the Google's guide but is not really clear enough. For the ones who has difficulties to understand what Google said in the guide and still don't know where to put the -noserver option, please follow these steps:

1) In Run Configuration window select the configuration which your project uses to run.
2) Select Arguments tab.
3) Write -noserver option in Program Arguments box
4) Apply

It's done! :)

这篇关于在哪里写GWT -noserver选项以避免码头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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