开发者

Unable to update app: Failed to compile JSP Files

开发者 https://www.devze.com 2023-02-24 08:20 出处:网络
I\'m trying to deploy an App for the first time on the App Engine and i\'m getting an error saying \"Unable to update app: Failed to compile JSP Files\".Anyone have any ideas how can i fix this.I\'ve

I'm trying to deploy an App for the first time on the App Engine and i'm getting an error saying "Unable to update app: Failed to compile JSP Files". Anyone have any ideas how can i fix this. I've set up eclipse to point to JDK1.6.0_17 in Windows/Preferences/Java/Installed JREs. My JAVA_HOME is currently set to "C:\Program Files\Java\jdk1.6.0_17". I've also edited the appcfg.cmd file in the "appengine开发者_运维问答-java-sdk-1.4.2\bin" folder to look like the following:

@"%JAVA_HOME%"\bin\java -cp "%~dp0\..\lib\appengine-tools-api.jar" com.google.appengine.tools.admin.AppCfg %*

Any ideas why this is happening?

Thanks


You probably have both a JRE and a JDK and Eclipse uses the JRE when deploying which is the problem. It should use the JDK. Uninstall the JRE (using the Programs and Features control panel). Make sure your path is set to the JDK. If you don't see it add it in the PATH variable. It should be something like: c:\Program Files\java\jdk\bin. Adapt it based on your own config.

0

精彩评论

暂无评论...
验证码 换一张
取 消