使用用于运行 Google 应用程序引擎的 netbeans 的 kenai 插件

发布于 2024-11-04 03:59:34 字数 5443 浏览 0 评论 0原文

  1. 使用 NetBeans 6.9.1
    1. 使用 Kenai 的 NetBeans Google App Engine 插件
    2. 我的操作与此视频教程中所示的完全相同:http://www.youtube。 com/watch?v=kAhaDNs87sc

由于某种原因,在我部署到谷歌应用程序引擎后,我得到了一个很长的异常:
(此视图不是此错误的全文..)

为什么会发生这种情况?

Reading application configuration data...
29/04/2011 00:57:59 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:/Users//Documents/NetBeansProjects/applet-example/build/web\WEB-INF/appengine-web.xml
29/04/2011 00:57:59 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/Users//Documents/NetBeansProjects/applet-example/build/web\WEB-INF/web.xml
Beginning server interaction for applet-example...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.

Error Details:
29/04/2011 00:58:00 org.apache.jasper.compiler.AntCompiler generateClass
SEVERE: Error compiling file: C:\Users\4EBE~1\AppData\Local\Temp\appcfg75983006369417083.tmp\WEB-INF\classes\org\apache\jsp\index_jsp.java     [javac] Compiling 1 source file

29/04/2011 00:58:00 org.apache.jasper.compiler.AntCompiler generateClass
SEVERE: Javac exception
Error running javac.exe compiler
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
        at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
        at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:226)
        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)
Caused by: java.io.IOException: Cannot run program "javac.exe": CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)
        ... 8 more
Caused by: java.io.IOException: CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        ... 18 more
--- Nested Exception ---
java.io.IOException: Cannot run program "javac.exe": CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)
        at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
        at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:226)
        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)
Caused by: java.io.IOException: CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        ... 18 more
29/04/2011 00:58:00 org.apache.jasper.compiler.AntCompiler generateClass
SEVERE: Environment: Compile: javaFileName=C:\Users\4EBE~1\AppData\Local\Temp\appcfg75983006369417083.tmp\WEB-INF\classes\org\apache\jsp\index_jsp.java
    classpath=/C:/appengine-java-sdk-1.4.3/appengine-java-sdk-1.4.3/lib/impl/appengine-
.....
  1. using NetBeans 6.9.1
    1. using Google App Engine plugin for NetBeans from Kenai
    2. I did exactly the same as shown on this video tutorial: http://www.youtube.com/watch?v=kAhaDNs87sc

For some reason after I hit the deploy to google app engine I get a very long exception:
(this view is not the full text of this error..)

Why is it happening?

Reading application configuration data...
29/04/2011 00:57:59 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:/Users//Documents/NetBeansProjects/applet-example/build/web\WEB-INF/appengine-web.xml
29/04/2011 00:57:59 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/Users//Documents/NetBeansProjects/applet-example/build/web\WEB-INF/web.xml
Beginning server interaction for applet-example...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.

Error Details:
29/04/2011 00:58:00 org.apache.jasper.compiler.AntCompiler generateClass
SEVERE: Error compiling file: C:\Users\4EBE~1\AppData\Local\Temp\appcfg75983006369417083.tmp\WEB-INF\classes\org\apache\jsp\index_jsp.java     [javac] Compiling 1 source file

29/04/2011 00:58:00 org.apache.jasper.compiler.AntCompiler generateClass
SEVERE: Javac exception
Error running javac.exe compiler
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
        at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
        at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:226)
        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)
Caused by: java.io.IOException: Cannot run program "javac.exe": CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)
        ... 8 more
Caused by: java.io.IOException: CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        ... 18 more
--- Nested Exception ---
java.io.IOException: Cannot run program "javac.exe": CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)
        at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
        at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:226)
        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)
Caused by: java.io.IOException: CreateProcess error=2, ???????? ??? ?????? ???? ?? ?÷??? ?????
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        ... 18 more
29/04/2011 00:58:00 org.apache.jasper.compiler.AntCompiler generateClass
SEVERE: Environment: Compile: javaFileName=C:\Users\4EBE~1\AppData\Local\Temp\appcfg75983006369417083.tmp\WEB-INF\classes\org\apache\jsp\index_jsp.java
    classpath=/C:/appengine-java-sdk-1.4.3/appengine-java-sdk-1.4.3/lib/impl/appengine-
.....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

从﹋此江山别 2024-11-11 03:59:34

查看他们的错误跟踪器后,Netbeans 6.9.1 似乎不受支持。

http://kenai.com/jira/browse/NBAPPENGINE-50

After having a look at their bug tracker, Netbeans 6.9.1 seems to be unsupported.

http://kenai.com/jira/browse/NBAPPENGINE-50

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文