Looks like an error in your jsp file. On Jul 3, 8:12 am, "~Juli~" <yoolc...@gmail.com> wrote: > Hi all! > > I faced with probem that i couldn't update war because jsp compilation > failed. > --------------------------------------------------------------------------- > ------------------------------------ > An error occurred at line: -1 in the generated java file > extension dir=C:\Program Files\Java\jdk1.6.0_26\jre\lib\ext;C: > \WINDOWS\Sun\J > ava\lib\ext > srcDir=C:\DOCUME~1\Admin\LOCALS~1\Temp > \appcfg6421727645217272141.tmp\WEB-INF > \classes > compiler=extJavac > compilerTargetVM=1.5 > compilerSourceVM=1.5 > include=org/apache/jsp/jsp/static_/pageHeader_jsp.java > > Stacktrace: > at > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErro > rHandler.java:92) > at > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher > .java:330) > at > org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java > :255) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java: > 349) > at org.apache.jasper.JspC.processFile(JspC.java:1192) > at org.apache.jasper.JspC.execute(JspC.java:1341) > at > com.google.appengine.tools.development.LocalJspC.main(LocalJspC.java: > 18) > Error while executing: C:\Program Files\Java\jdk1.6.0_26\jre\bin > \java.exe -class > path /C:/appengine-java-sdk-1.5.1/lib/impl/appengine-api-labs.jar;/C:/ > appengine- > java-sdk-1.5.1/lib/impl/appengine-api-stubs.jar;/C:/appengine-java- > sdk-1.5.1/lib > /impl/appengine-api.jar;/C:/appengine-java-sdk-1.5.1/lib/impl/ > appengine-local-ru > --------------------------------------------------------------------------- > ------------------------------------ > > I read more topics about this problem, but all this topics didn't help > me.I understand that problem is that jre used instead of jdk. As > written:http://code.google.com/p/googleappengine/issues/detail?id=1226http://groups.google.com/group/google-appengine-java/browse_thread/th... > i tried: > 1. Copy tools.jar into the AppEngine lib/shared directory from jdk/ > lib. > 2. Modify appcfg.cmd so it fully-qualifies the reference to java.exe > in the JDK/bin directory. So now my appcfg.cm looks like "C:\Program > Files\Java\jdk1.6.0_26\bin\java" -cp "%~dp0\..\lib\appengine-tools- > api.jar" com.google.appengine.tools.admin.AppCfg %* > 3. My JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26 > > But problem is still exist... And i also didn't understand why if i > changed the appcfg.cmd and forse set the path to the java - why it > still try to use jre (Error while executing: C:\Program Files\Java > \jdk1.6.0_26\jre\bin\java.exe -class > path)?????? > What i have to do? > > Thank you.
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.