Error: com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files.

I tried to upload an Java application to appengine.google.com, but it shows: org.apache.jasper.compiler.AntCompiler generateClass

……
com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files.
Unable to update app: Failed to compile jsp files.

I searched online and found it’s the problem about jdk.

I ran javac at C: , it failed. It shows that it’s really the problem about jdk.

I checked the path definition in the environment setting of the computer. The path to jdk is really wrong. I changed to D:\java\jdk1.7.0\bin; which is where the jdk is located on my computer.

I upload the application again. It works.

Leave a Reply

Your email address will not be published. Required fields are marked *