Googled around and this seems to be a famous problem and knew it could
be the command line is too long, but I tried all the solutions I could
find and nothing was working.
The first time, everything was working fine thenI stopped the
application. The next day I ran it again and this problem occurred.
Neither application nor environment was changed and the execution was
not working.
Appreciate any suggestion!
Here is my exception:
Error executing script AppEngine: : The following error occurred while
executing
this line:
C:\appengine-java-sdk\config\user\ant-macros.xml:94:
java.io.IOException: Cannot
run program "C:\Program Files\Java\jdk1.6.0_14\jre\bin\java.exe":
CreateProcess
error=87, The parameter is incorrect
gant.TargetExecutionException: : The following error occurred while
executing th
is line:
C:\appengine-java-sdk\config\user\ant-macros.xml:94:
java.io.IOException: Cannot
run program "C:\Program Files\Java\jdk1.6.0_14\jre\bin\java.exe":
CreateProcess
error=87, The parameter is incorrect
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown
Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Caused by: : The following error occurred while executing this line:
C:\appengine-java-sdk\config\user\ant-macros.xml:94:
java.io.IOException: Cannot
run program "C:\Program Files\Java\jdk1.6.0_14\jre\bin\java.exe":
CreateProcess
error=87, The parameter is incorrect
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:541)
at org.apache.tools.ant.taskdefs.MacroInstance.execute
(MacroInstance.jav
a:394)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at _Events$_run_closure1.doCall(_Events.groovy:56)
at _GrailsEvents_groovy$_run_closure5.doCall
(_GrailsEvents_groovy:59)
at _GrailsEvents_groovy$_run_closure5.call
(_GrailsEvents_groovy)
at _GrailsWar_groovy$_run_closure4.doCall(_GrailsWar_groovy:
240)
at AppEngine$_run_closure2.doCall(AppEngine:26)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
... 10 more
Caused by: C:\appengine-java-sdk\config\user\ant-macros.xml:94:
java.io.IOExcept
ion: Cannot run program "C:\Program Files\Java\jdk1.6.0_14\jre\bin
\java.exe": Cr
eateProcess error=87, The parameter is incorrect
at org.apache.tools.ant.taskdefs.Java.fork(Java.java:774)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:
194)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)
at com.google.appengine.tools.enhancer.EnhancerTask.execute
(EnhancerTask
.java:99)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute
(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute
(MacroInstance.jav
a:391)
... 18 more
Caused by: java.io.IOException: Cannot run program "C:\Program Files
\Java\jdk1.6
.0_14\jre\bin\java.exe": CreateProcess error=87, The parameter is
incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at org.apache.tools.ant.taskdefs.Execute
$Java13CommandLauncher.exec(Exec
ute.java:828)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:
445)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:
459)
at org.apache.tools.ant.taskdefs.Java.fork(Java.java:767)
... 29 more
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---