Valery-Sh / NbAppEngine

NetBeans IDE plugin for Google App Engine
Other
10 stars 2 forks source link

Cannot start Google App Engine Server #4

Open vominhdat2007 opened 11 years ago

vominhdat2007 commented 11 years ago

I cannot start the server. Every time I try to do so, this is the log:

Buildfile: D:\Personel\Google App Engine\HelloCloud\build.xml

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:

-init-macrodef-javac:

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-macrodef-java:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-nbjsdebug:

-init-macrodef-debug:

-init-taskdefs:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

deps-module-jar:

deps-ear-jar:

deps-jar:

-pre-pre-compile:

-pre-compile:

-copy-manifest:

-copy-persistence-xml:

-copy-webdir:

library-inclusion-in-archive:

library-inclusion-in-manifest:

-do-compile:

-post-compile:

compile:

-pre-dist:

compile-jsps:

-do-dist-with-manifest:

-do-dist-without-manifest:

do-dist:

-post-dist:

dist:

copyjars:

datanucleusenhance:

copyjars-v2:

datanucleusenhance-v2: [enhance] Encountered a problem: Unexpected exception [enhance] Please see the logs [C:\Users\VOMI~1\AppData\Local\Temp\enhance4218513535317586863.log] for further information.

BUILD FAILED D:\Personel\Google App Engine\HelloCloud\nbproject\ant-deploy.xml:48: The following error occurred while executing this line: D:\Software\Programing\googleappengine\config\user\ant-macros.xml:95: Java returned: 1

Total time: 2 seconds

And here is the content of the log file of datanucleusenhance-v2:

java.lang.RuntimeException: Unexpected exception at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:76) at com.google.appengine.tools.enhancer.Enhance.(Enhance.java:71) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74) ... 2 more Caused by: org.datanucleus.exceptions.NucleusException: Plugin (Bundle) "org.datanucleus" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/D:/Software/Programing/googleappengine/lib/opt/tools/datanucleus/v2/datanucleus-core-3.1.3.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/D:/Personel/Google%20App%20Engine/HelloCloud/build/web/WEB-INF/lib/datanucleus-core-1.1.5.jar." at org.datanucleus.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:541) at org.datanucleus.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:395) at org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java:219) at org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:160) at org.datanucleus.plugin.PluginManager.(PluginManager.java:65) at org.datanucleus.plugin.PluginManager.createPluginManager(PluginManager.java:427) at org.datanucleus.NucleusContext.(NucleusContext.java:224) at org.datanucleus.NucleusContext.(NucleusContext.java:204) at org.datanucleus.enhancer.DataNucleusEnhancer.(DataNucleusEnhancer.java:160) at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1133) ... 7 more

Valery-Sh commented 11 years ago

Sorry for the late reply.

I cannot reproduce the error. I tried with gae1.8.1, 1.8.3 and everything work fine. I've created a project with the same structure as you have. No problems.