By "happy" coincidence, I've just installed Netbeans and my code to a new machine and had exactly the same issue. The problem is that my default java.exe (the one that runs if you type java into a command prompt) is a version that belongs to a JRE. The vital line in the error log is one saying it could not find tools.jar in c:\program files\java\jre6\lib - which it wouldn't because tools.jar is not part of the JRE, it's part of the JDK.
I resolved this by setting my path variable to include the bin directory of my JDK - in my case c:\program files\java\jdk1.6.0_22\bin before the location of java.exe I also uninstalled the JRE because I don't need it, but I guess that's optional. On my previous dev machine I'd been using jdk7 and jre7 and had no issues. Thanks, Mat. On 14 November 2011 09:23, Matthew Jaggard <matt...@jaggard.org.uk> wrote: > I am using Netbeans with GAE without any issues at the moment, so it > should work. Can you check some things please? > > Can you run the dev server using the command line (dev_appserver.cmd)? > If you can, can you run your code with it? > Have you loaded the server in Netbeans correctly - with the correct > paths, etc. listed under "Servers" under the "Tools" menu? > Does the file nbproject\ant-deploy.xml contain the correct path for the SDK? > > Thanks, > Mat. > > On 14 November 2011 04:22, Emmanuel Saenz <emmanuel.sae...@gmail.com> wrote: >> init: >> deps-module-jar: >> deps-ear-jar: >> deps-jar: >> library-inclusion-in-archive: >> library-inclusion-in-manifest: >> compile: >> compile-jsps: >> Starting Google App Engine >> Google App Engine Start Failed >> C:\Users\Familia\Documents\NetBeansProjects\emmanuelsaenzc\nbproject >> \build-impl.xml:721: >> Deployment error: >> Google App Engine Start Failed >> See the server log for details. >> at >> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java: >> 223) >> at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) >> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: >> 291) >> at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: >> 25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: >> 106) >> at org.apache.tools.ant.Task.perform(Task.java:348) >> at org.apache.tools.ant.Target.execute(Target.java:390) >> at org.apache.tools.ant.Target.performTasks(Target.java:411) >> at org.apache.tools.ant.Project.executeSortedTargets(Project.java: >> 1399) >> at org.apache.tools.ant.Project.executeTarget(Project.java:1368) >> at >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: >> 41) >> at org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> at >> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: >> 284) >> at >> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: >> 539) >> at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: >> 153) >> BUILD FAILED (total time: 2 seconds) >> >> -- >> 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. >> >> > -- 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.