找不到GWT项目外部模式Main / Main.nocache.js [英] GWT project external mode Main/Main.nocache.js not found

查看:344
本文介绍了找不到GWT项目外部模式Main / Main.nocache.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GWT和runnin在Apache Tomcat 7.0.16上,今天我试图启动应用程序,并且在浏览器打开时出现错误。在浏览器控制台404 Main / Main.nocache.js中。我可以修复它。



当我查看org.eclipse.wsr.server.core / temp0 / wtpwebapps目录时,无法查看主目录及其内容,如nocache。 js等静态内容。

和我查过eclipse的war目录主目录是存在的。



我认为一些配置已经改变,tomcat无法发布。

我的gwt模块名称是Main / p>

感谢您的回复。



好的黑客.....

解决方案

gwt运行配置。我与target_PROJECT_NAME-SNAPSHOT.0.0.1相关的目标目标工作,我工作了2天之前。当我在下面问的时候出错。

解决方法:
GWT运行conf。

-war wokspace_classpath\PROJECT_NAME\src\main\webapp


i'm working with GWT and runnin on apache tomcat 7.0.16, when today i tried to start application and i got an error when browser opened. in browser console 404 Main/Main.nocache.js. what can i fix it.

when i looked at org.eclipse.wsr.server.core/temp0/wtpwebapps directory cant see Main directory and their content such as nocache.js and other static content.

and i checked eclipse war directory Main directory is exist.

i think some configurations has changed and tomcat cant publish.

my gwt module name is "Main"

thanks for reply.

good hacking.....

解决方案

i solved with gwt run configuration. i work with target dir with target\PROJECT_NAME-SNAPSHOT.0.0.1\ , i worked up to 2 days before. after i got error when i asked below.

Solved with: GWT run conf.

-war wokspace_classpath\PROJECT_NAME\src\main\webapp

这篇关于找不到GWT项目外部模式Main / Main.nocache.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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