GWTP - ClassEnhancer "ASM" 在尝试调用方法 "org.datanucleus.enhancer.asm.ASMClassEnhancer" 时发生错误
GWTP - An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer"
我正在尝试在 Eclipse 中设置 GWTP 并创建尽可能简单的 POC。
我已经使用 GWT 2.6、Appengine 1.9.18 和 GWTP 插件 0.6.1 安装了 Google 插件。
我正在使用 Windows 7 和 Eclipse luna 4.4
我的机器上安装了两个 java 版本,用于不同的版本!!!
在终端上:
D:\project>echo %JAVA_HOME%
"D:\installations\java8"
D:\project>java-版本
java 版本“1.8.0_40”
Java(TM) SE 运行时环境(build 1.8.0_40-b25)
Java HotSpot(TM) 64 位服务器 VM(构建 25.40-b25,混合模式)
在 Eclipse 上:
下Window --> preferences --> Java --> InstalledJREs 我选择了合适的Java 8安装
============================================= ===================
我正在尝试创建这样的 GWTP 项目:
点击“完成”后,出现以下错误:
堆栈跟踪:
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.natures" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.builders" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.ant.core.extraClasspathEntries" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.ant.core.antTasks" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.jdt.core.classpathContainerInitializer" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.team.core.fileTypes" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.applications" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.applications" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.contenttype.contentTypes" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.preferences" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.preferences" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
DataNucleus Enhancer (version 1.1.4) : Enhancement of classes
Mar 15, 2015 10:49:28 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
SEVERE: An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
Mar 15, 2015 10:49:28 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
SEVERE: An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
.
An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
DataNucleus Enhancer completed with success for 0 classes. Timings : input=32 ms, enhance=0 ms, total=32 ms. Consult the log for full details
DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details
###编辑###
全新安装后,一切正常。可以在这个 google 组 thred 上跟踪 GWTP 初学者需要了解的所有内容的超级详细解释。 https://groups.google.com/forum/#!topic/gwt-platform/5iE5B_RTCuQ
GWTP 0.6.1 已经很老了。对于 eclipse Luna,您需要安装最新版本的插件。从 http://arcbees.github.io/gwtp-eclipse-plugin/
安装
我正在尝试在 Eclipse 中设置 GWTP 并创建尽可能简单的 POC。 我已经使用 GWT 2.6、Appengine 1.9.18 和 GWTP 插件 0.6.1 安装了 Google 插件。
我正在使用 Windows 7 和 Eclipse luna 4.4
我的机器上安装了两个 java 版本,用于不同的版本!!!
在终端上:
D:\project>echo %JAVA_HOME%
"D:\installations\java8"
D:\project>java-版本
java 版本“1.8.0_40” Java(TM) SE 运行时环境(build 1.8.0_40-b25) Java HotSpot(TM) 64 位服务器 VM(构建 25.40-b25,混合模式)
在 Eclipse 上:
下Window --> preferences --> Java --> InstalledJREs 我选择了合适的Java 8安装
============================================= ===================
我正在尝试创建这样的 GWTP 项目:
点击“完成”后,出现以下错误:
堆栈跟踪:
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.natures" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.builders" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.resources.markers" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.ant.core.extraClasspathEntries" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.ant.core.antTasks" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.jdt.core.classpathContainerInitializer" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.team.core.fileTypes" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.applications" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.applications" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.contenttype.contentTypes" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.preferences" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
Mar 15, 2015 10:49:28 PM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions
WARNING: Extension Point "org.eclipse.core.runtime.preferences" not registered, but plugin "" defined in file:/D:/project/eclipse-jee-luna-R-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar refers to it.
DataNucleus Enhancer (version 1.1.4) : Enhancement of classes
Mar 15, 2015 10:49:28 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
SEVERE: An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
Mar 15, 2015 10:49:28 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
SEVERE: An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
.
An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : null
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName(ASMClassEnhancer.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename(DataNucleusEnhancer.java:920)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:736)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
.
DataNucleus Enhancer completed with success for 0 classes. Timings : input=32 ms, enhance=0 ms, total=32 ms. Consult the log for full details
DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details
###编辑###
全新安装后,一切正常。可以在这个 google 组 thred 上跟踪 GWTP 初学者需要了解的所有内容的超级详细解释。 https://groups.google.com/forum/#!topic/gwt-platform/5iE5B_RTCuQ
GWTP 0.6.1 已经很老了。对于 eclipse Luna,您需要安装最新版本的插件。从 http://arcbees.github.io/gwtp-eclipse-plugin/
安装