2011-07-23 68 views
0

好傢伙誰能幫助我,我有我的生成發揮應用程序使用此命令命名ROOT.warPlayframework 1.2.1部署在Tomcat失敗?

play war mainindonesia -o ROOT --zip 

`出現戰爭的文件,然後我上傳文件到我的服務器在Tomcat 6,在webapps目錄。在部署這個錯誤出現在LOG。

INFO: validateJarFile(/usr/local/shared/tomcat/mainindonesia/webapps/ROOT/WEB-INF/lib/geronimo-servlet_2.5_spec-1.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 
08:11:14,939 INFO ~ Starting /usr/local/shared/tomcat/mainindonesia/webapps/ROOT/WEB-INF/application 
08:11:14,941 WARN ~ Declaring modules in application.conf is deprecated. Use dependencies.yml instead (module.crud) 
08:11:14,942 ERROR ~ Module crud will not be loaded because /usr/local/shared/tomcat/mainindonesia/webapps/ROOT/WEB-INF/modules/crud does not exist 
08:11:14,942 WARN ~ Declaring modules in application.conf is deprecated. Use dependencies.yml instead (module.secure) 
08:11:14,942 ERROR ~ Module secure will not be loaded because /usr/local/shared/tomcat/mainindonesia/webapps/ROOT/WEB-INF/modules/secure does not exist 
08:11:14,942 INFO ~ Module secure is available (/usr/local/shared/tomcat/mainindonesia/webapps/ROOT/WEB-INF/application/modules/secure) 
08:11:14,943 INFO ~ Module crud is available (/usr/local/shared/tomcat/mainindonesia/webapps/ROOT/WEB-INF/application/modules/crud) 
08:11:15,041 ERROR ~ Precompiled classes are missing!! 

`誰能告訴我該怎麼辦?

回答

1

您不能添加的servlet.jar戰爭文件,因爲它與雄貓實現衝突......你可以編譯針對javax/servlet/Servlet.class,但在戰爭中沒有捆綁它。