GWT模块“XYZ”可能需要编译(再) [英] GWT module 'xyz' may need to be (re)compiled

查看:285
本文介绍了GWT模块“XYZ”可能需要编译(再)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
   GWT模块可能需要编译(重新)REDUX

我已经创建了日食GWT项目,当我尝试在调试模式这个项目(与GWT的服务器),它的工作原理。

I have created a gwt project with eclipse and when I try this project in debug mode ( with GWT's server ) it works.

但是,当我试图部署Apache Tomcat服务器,此错误消息显示:

But when I tried to deploy apache tomcat server, this error message is displaying :

在本地主机页面:8080说:
GWT模块'gwtfileupload'可能需要(重新)编译

The page at localhost:8080 says: GWT module 'gwtfileupload' may need to be (re)compiled

我用这个教程来完成部署:
https://wiki.auckland.ac.nz/display/BeSTGRID/Deploying+GWT+to+Tomcat+in+Eclipse

i used this tutorial to accomplish the deployment : https://wiki.auckland.ac.nz/display/BeSTGRID/Deploying+GWT+to+Tomcat+in+Eclipse

这里的warbuilder.xml

here's the "warbuilder.xml" :

<target name="default" depends="buildwar,deploy"></target>

<target name="buildwar">
    <war basedir="war" destfile="gwtfileupload.war" webxml="war/WEB-INF/web.xml">
        <exclude name="WEB-INF/**" />
        <webinf dir="war/WEB-INF/">
            <include name="**/*.jar" />
        </webinf>
    </war>
</target>

<target name="deploy">
    <copy file="gwtfileupload.war" todir="." />
</target>

这里的项目树结果
 | gwtfileupload结果
 | -src结果
 | --- COM结果
 | ----- HSN结果
 | -------演示结果
 | --------- gwtfileupload结果
 | -----------客户结果
 | ------------------- GWTFileUpload.java结果
 | -----------服务器结果
 | ------------------- FileUploadServlet.java结果
 | -war结果
 | --- gwtfileupload.css结果
 | --- gwtfileupload.html结果
 | --- WEB-INF结果
 | ----- web.xml中结果
 | ----- LIB结果
 | ---------公地文件上传-1.2.1.jar结果
 | --------- GWT-的servlet.jar结果
 | ---------公地IO-1.4.jar结果

here's the project tree
  |gwtfileupload
  |-src
  |---com
  |-----hsn
  |-------demo
  |---------gwtfileupload
  |-----------client
  |-------------------GWTFileUpload.java
  |-----------server
  |-------------------FileUploadServlet.java
  |-war
  |---gwtfileupload.css
  |---gwtfileupload.html
  |---WEB-INF
  |-----web.xml
  |-----lib
  |---------commons-fileupload-1.2.1.jar
  |---------gwt-servlet.jar
  |---------commons-io-1.4.jar

这里的战争文件树结果
 | -gwtfileupload.html结果
 | -gwtfileupload.css结果
 | -META-INF结果
 | --- MANIFEST.MF结果
 | -WEB-INF结果
 | --- web.xml中结果
 | --- LIB结果
 | ------公地文件上传-1.2.1.jar结果
 | ------ GWT-的servlet.jar结果
 | ------公地IO-1.4.jar结果
 | ------ gwtfileupload.jar结果
 | -gwtfileupload结果
 | --- clear.cache.gif结果
 | --- gwtfileupload.nocache.js结果
 | --- hosted.html结果
 | --- GWT结果
 | -----标准结果
 | -------图像结果
 | --------- IE6结果

here's the war file tree
  |-gwtfileupload.html
  |-gwtfileupload.css
  |-META-INF
  |---MANIFEST.MF
  |-WEB-INF
  |---web.xml
  |---lib
  |------commons-fileupload-1.2.1.jar
  |------gwt-servlet.jar
  |------commons-io-1.4.jar
  |------gwtfileupload.jar
  |-gwtfileupload
  |---clear.cache.gif
  |---gwtfileupload.nocache.js
  |---hosted.html
  |---gwt
  |-----standard
  |-------images
  |---------ie6

您能帮我解决这个问题?

Could you help me to fix this problem?

推荐答案

这篇关于GWT模块“XYZ”可能需要编译(再)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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