I updated the version of JDK and JRE on my mac which is running Mountain Lion. Knowing that $JAVA_HOME is not anymore set in Mac, I manually set it up.
Ever since that I am unable to deploy code on Google app engine. I have seen a lot of complaints on similar lines and I have taken the following steps so far.
- Pointing Eclipse to the JDK not JRE
- Setting up $JAVA_HOME appropriately
- Setting up the eclipse.ini file so that it points to the right directory with the new JDK
I am currently getting this in the error log which is not at all descriptive of the cause
------------ Deploying frontend ------------
Preparing to deploy: Created staging directory at: '/var/folders/fm/44m8l7zn7x71067wvdj7g75w0000gn/T/appcfg5680117283026395820.tmp' Using java7 runtime: false Scanning for jsp files. Compiling jsp files. com.google.appengine.tools.admin.JspCompilationException: Failed to compile the generated JSP java files.
... all JSP files about 60 of them
Debugging information may be found in /private/var/folders/fm/44m8l7zn7x71067wvdj7g75w0000gn/T/appengine-deploy2728364652103813474.log
And the final error log :
Unable to update: com.google.appengine.tools.admin.JspCompilationException: Failed to compile the generated JSP java files. at com.google.appengine.tools.admin.Application.compileJavaFiles(Application.java:803) at com.google.appengine.tools.admin.Application.compileJsps(Application.java:760) at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:592) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:370) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) ~
Has anyone managed to solve the problems they were facing, if so how?
I look forward to some feedback
Thanks Rajat