无法部署到GAE - .jsp文件将无法编译

时间:2013-11-20 11:38:32

标签: java google-app-engine deployment

我已经查看并尝试了在部署到GAE之前无法成功编译.jsp文件的所有内容。

  • 我已卸载并重新安装了Eclipse(Kepler)
  • 我已经卸载并重新安装了适用于Eclipse 4.3的GAE Eclipse插件(1.8.8)
  • 我已卸载并重新安装JDK1.7.0_45(32位和64位)
  • 我已从系统中删除了所有JRE。
  • “g”工具中的“Deploy to App Engine ...”菜单项显然不使用appcfg.cmd文件,因为修改它根本没有效果。
  • 我已将特定的JDK VM添加到eclipse.ini
  • 我已将JDK中的tools.java复制到appengine SDK(1.8.8)
  • 我尝试过从cmd shell运行appcfg.cmd

我可以在开发服务器上运行得很好,但我找不到部署方法,因为我无法编译我的一个.jsp文件。显然,无论我做什么,都没有找到java编译器。

我知道这已经一遍又一遍地讨论过了。我已经尝试了一遍又一遍在网上找到的东西,但无济于事。我发现错误日志不太有用。

执行的deploy命令是(使用我的JDK):

Error while executing: C:\jdk1.7.0_45_32\bin\javaw.exe -classpath /C:/eclipse-kepler32/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/lib/impl/appengine-api-labs.jar;/C:/eclipse-kepler32/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/lib/impl/appengine-api-stubs.jar;/C:/eclipse-kepler32/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/lib/impl/appengine-api.jar;/C:/eclipse-kepler32/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/lib/impl/appengine-local-runtime.jar;/C:/eclipse-kepler32/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/lib/impl/google_sql.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\appengine-local-runtime-shared.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\el-api.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\jsp\repackaged-appengine-ant-1.7.1.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\jsp\repackaged-appengine-ant-launcher-1.7.1.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\jsp\repackaged-appengine-jasper-6.0.29.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\jsp\repackaged-appengine-jasper-el-6.0.29.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\jsp\repackaged-appengine-tomcat-juli-6.0.29.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\jsp-api.jar;C:\eclipse-kepler32\plugins\com.google.appengine.eclipse.sdkbundle_1.8.8\appengine-java-sdk-1.8.8\lib\shared\servlet-api.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\classes;C:\Users\tmcadmin\AppData\Local\Temp\1384945950039-0;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\appengine-api-labs.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\appengine-endpoints-deps.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\appengine-endpoints.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\appengine-jsr107cache-1.8.8.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\appengine-testing.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\asm-4.0.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\commons-beanutils.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\commons-collections.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\commons-logging.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\datanucleus-api-jdo-3.1.3.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\datanucleus-api-jpa-3.1.3.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\datanucleus-appengine-2.1.2.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\datanucleus-core-3.1.3.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\geronimo-jpa_2.0_spec-1.0.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\geronimo-stax-api_1.0_spec-1.0.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-api-client-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-api-client-appengine-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-api-client-servlet-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-api-services-oauth2-v2-rev50-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-http-client-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-http-client-appengine-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-http-client-gson-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-http-client-jackson-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-http-client-jackson2-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-oauth-client-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-oauth-client-appengine-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-oauth-client-java7-1.15.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-oauth-client-jetty-1.11.0-beta.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\google-oauth-client-servlet-1.16.0-rc.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\gson-2.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\guava-14.0.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\gwt-servlet.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\iText-2.1.7.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\itext-pdfa-5.4.4.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\iText-rtf-2.1.7.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\itext-xtra-5.4.4.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\itextpdf-5.4.4.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jackson-core-2.1.3.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jackson-core-asl-1.9.11.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jdo-api-3.0.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jdo2-api-2.3-eb.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jetty-6.1.11.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jetty-util-6.1.11.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jfreechart-client.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jide-common-client.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jnlp-servlet.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jsr107cache-1.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jsr305-1.3.9.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jstl.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\jta-1.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\objectify-4.0rc2.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\poi-3.6-20091214.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\poi-contrib-3.6-20091214.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\poi-ooxml-3.6-20091214.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\poi-ooxml-schemas-3.6-20091214.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\poi-scratchpad-3.6-20091214.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-ant-1.7.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-ant-launcher-1.7.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-jakarta-jstl-1.1.2.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-jakarta-standard-1.1.2.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-jasper-6.0.29.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-jasper-el-6.0.29.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-jasper-jdt-6.0.29.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\repackaged-appengine-tomcat-juli-6.0.29.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\standard.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\tools.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\transaction-api-1.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\ulc-core-server.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\ulc-deployment-key.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\ULCOfficeIntegration-server-1.1.1.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\xmlbeans-2.3.0.jar;C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\lib\xpp3-1.1.4c.jar; com.google.appengine.tools.development.LocalJspC -uriroot C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp -p org.apache.jsp -l -v -webinc C:\Users\tmcadmin\AppData\Local\Temp\appcfg7613380766126120775.tmp\WEB-INF\generated_web.xml -d C:\Users\tmcadmin\AppData\Local\Temp\1384945950039-0 -javaEncoding UTF-8 

谷歌有人可以给我任何其他建议吗?

提前致谢。

托尼卡特 (tmcarter54@gmail.com或tony.m.carter@tmcarter-engg.com)

1 个答案:

答案 0 :(得分:0)

三点建议:

  1. 尝试使用命令行工具(即appfcfg)。它们会为您提供比Error while executing更好的错误消息。

  2. 发布一个证明问题的小.jsp。

  3. 如果由于某种原因你不能做#2,请设置一个测试应用程序。从最简单的.jsp开始,将其扩展到当前.jsps的方向,直到看到问题发生。或者,您可以修剪当前的.jsps直到它们工作,但从简单的工作开始可能是解决问题的快速方法。