0
我有我的GWT-RPC項目,對服務器使用貝寶的SDK商人(用於快速結賬)使用下面的類路徑:嘗試部署在Tomcat 7戰從GWT-RPC項目採取
<classpath>
<pathelement location="/home/anto0192/Documenti/TesiProvaFinale/TesiFinale/MovieUniverseFinal/src" />
<pathelement location="/home/anto0192/Documenti/TesiProvaFinale/TesiFinale/MovieUniverseFinal/war/WEB-INF/classes" />
<pathelement location="/media/Dati/Uni(IIIanno)/Tesi/postgresql-9.4-1201.jdbc4.jar" />
<pathelement location="/home/anto0192/Documenti/TesiProvaFinale/paypal-core-1.4.3.jar" />
<pathelement location="/home/anto0192/Documenti/gwt-2.7.0/gwt-user.jar" />
<pathelement location="/home/anto0192/Documenti/gwt-2.7.0/gwt-dev.jar" />
<pathelement location="/home/anto0192/Documenti/gwt-2.7.0/validation-api-1.0.0.GA-sources.jar" />
<pathelement location="/home/anto0192/Documenti/gwt-2.7.0/validation-api-1.0.0.GA.jar" />
<pathelement location="/home/anto0192/Documenti/gwt-2.7.0/gwt-codeserver.jar" />
<pathelement location="/home/anto0192/Documenti/TesiProvaFinale/merchant-sdk-java-2.13.117/merchantsdk/target/merchantsdk-2.13.117.jar" />
<pathelement location="/home/anto0192/Documenti/TesiProvaFinale/merchant-sdk-java-2.13.117/merchantsdk/target/merchantsdk-2.13.117-javadoc.jar" />
<pathelement location="/home/anto0192/Documenti/TesiProvaFinale/merchant-sdk-java-2.13.117/merchantsdk/target/merchantsdk-2.13.117-sources.jar" />
<pathelement location="/home/anto0192/Documenti/gwt-2.7.0/gwt-dev.jar" />
</classpath>
在我的戰爭/ WEB-INF/lib中我已經加入
gwt-codeserver.jar gwt-servlet.jar paypal-core-1.4.3.jar
gwt-dev.jar merchantsdk-2.13.117.jar postgresql-9.4-1201.jdbc4.jar
我從包含豬病戰爭產生的作戰
MovieUniverse MovieUniverse.html WEB-INF
與終端命令:
sudo jar -cvf MovieUniverse.war MovieUniverse.html WEB-INF;
我從Tomcat的管理器應用部署。 部署發生,我可以在我的Tomcat應用程序列表中看到它。 我去的頁面
http://localhost:8080/MovieUniverse/MovieUniverse.html
我收到鍍鉻的控制檯上錯誤的:
http://localhost:8080/MovieUniverse/MovieUniverse/MovieUniverse.nocache.js 404 (Not Found)
的頁面沒有加載,我可以做什麼?我認爲這是在WEB-INF/lib中插入jar的問題,但我無法解決它。