I followed the tutorial perfectly, yet I can't seem to deploy my
application.
At first, the deployment failed because it didn't find the "javac"
file, so I copied it. I also
Following some instructions I found, I edited the appcfg.cmd so it
points now to the real javac location (in C:\Program Files\Java
\jdk1.6.0_16\bin), and I also copied a file called "tools.jar" to the
app-engine SDK.

I'm running Windows XP, and using Esclipe +  Java App Engine + App
Engine Plugin.

Googled for hours and nothing.
Thanks.


Creating staging directory
Scanning for jsp files.
Compiling jsp files.
Compiling java files.
com.google.appengine.tools.admin.JspCompilationException: Failed to
compile the generated JSP java files.
12/09/2009 14:01:21 org.apache.jasper.JspC processFile
INFO: Built File: \guestbook.jsp
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" Could not find the main class:
com.sun.tools.javac.Main.  Program will exit.
Error while executing: C:\Program Files\Java\jre6\bin\javac.exe -
classpath /C:/Program Files/Eclipse/plugins/
com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031/appengine-
java-sdk-1.2.5/lib/impl/appengine-api-labs.jar;/C:/Program Files/
Eclipse/plugins/
com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031/appengine-
java-sdk-1.2.5/lib/impl/appengine-api-stubs.jar;/C:/Program Files/
Eclipse/plugins/
com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031/appengine-
java-sdk-1.2.5/lib/impl/appengine-api.jar;/C:/Program Files/Eclipse/
plugins/com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031/
appengine-java-sdk-1.2.5/lib/impl/appengine-local-runtime.jar;C:
\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\appengine-local-runtime-shared.jar;C:
\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\geronimo-el_1.0_spec-1.0.1.jar;C:\Program
Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\geronimo-jsp_2.1_spec-1.0.1.jar;C:\Program
Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\geronimo-servlet_2.5_spec-1.2.jar;C:\Program
Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\jsp\repackaged-appengine-ant-1.6.5.jar;C:
\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\jsp\repackaged-appengine-ant-
launcher-1.6.5.jar;C:\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\jsp\repackaged-appengine-commons-
el-1.0.jar;C:\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\jsp\repackaged-appengine-commons-
logging-1.1.1.jar;C:\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\jsp\repackaged-appengine-jasper-
compiler-5.0.28.jar;C:\Program Files\Eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.5.v200909021031\appengine-
java-sdk-1.2.5\lib\shared\jsp\repackaged-appengine-jasper-
runtime-5.0.28.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\classes;C:\DOCUME~1\yb
\LOCALS~1\Temp\appcfg5145010290416497529.tmp\WEB-INF\lib\appengine-
api-1.0-sdk-1.2.5.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\appengine-api-
labs-1.2.5.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\datanucleus-
appengine-1.0.3.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\datanucleus-
core-1.1.5.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\datanucleus-jpa-1.1.5.jar;C:
\DOCUME~1\yb\LOCALS~1\Temp\appcfg5145010290416497529.tmp\WEB-INF\lib
\geronimo-jpa_3.0_spec-1.1.1.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\geronimo-
jta_1.1_spec-1.1.1.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\jdo2-api-2.3-eb.jar;C:
\DOCUME~1\yb\LOCALS~1\Temp\appcfg5145010290416497529.tmp\WEB-INF\lib
\repackaged-appengine-ant-1.6.5.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-ant-
launcher-1.6.5.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-
commons-el-1.0.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-
commons-logging-1.1.1.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-
jakarta-jstl-1.1.2.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-
jakarta-standard-1.1.2.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-jasper-
compiler-5.0.28.jar;C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\lib\repackaged-appengine-jasper-
runtime-5.0.28.jar; -d C:\DOCUME~1\yb\LOCALS~1\Temp
\appcfg5145010290416497529.tmp\WEB-INF\classes -encoding UTF-8 C:
\DOCUME~1\yb\LOCALS~1\Temp\appcfg5145010290416497529.tmp\WEB-INF
\classes\org\apache\jsp\guestbook_jsp.java
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to