NutzCN Logo
问答 nutz核心包运行错误
发布于 3104天前 作者 汉歌 2277 次浏览 复制 上一个帖子 下一个帖子
标签:

--- exec-maven-plugin:1.2.1:exec (default-cli) @ nutz --- java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file org/nutz/lang/util/NutMap at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" [INFO] NETBEANS-ExecEvent:{"exc":{"msg":"Q29tbWFuZCBleGVjdXRpb24gZmFpbGVkLg=="},"mojo":{"impl":"org.codehaus.mojo.exec.ExecMojo","urls":["file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/org\/codehaus\/mojo\/exec-maven-plugin\/1.2.1\/exec-maven-plugin-1.2.1.jar","file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/org\/apache\/maven\/reporting\/maven-reporting-api\/2.0.6\/maven-reporting-api-2.0.6.jar","file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/org\/apache\/maven\/doxia\/doxia-sink-api\/1.0-alpha-7\/doxia-sink-api-1.0-alpha-7.jar","file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/commons-cli\/commons-cli\/1.0\/commons-cli-1.0.jar","file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/org\/codehaus\/plexus\/plexus-interactivity-api\/1.0-alpha-4\/plexus-interactivity-api-1.0-alpha-4.jar","file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/org\/codehaus\/plexus\/plexus-utils\/2.0.5\/plexus-utils-2.0.5.jar","file:\/E:\/java\/sonatype-work\/nexus\/storage\/snapshots\/org\/apache\/commons\/commons-exec\/1.1\/commons-exec-1.1.jar"],"goal":"exec","id":"org.codehaus.mojo:exec-maven-plugin:1.2.1","source":"CLI","execId":"default-cli"},"type":"MojoFailed"} ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 1.335s Finished at: Mon May 23 17:25:55 CST 2016 Final Memory: 7M/303M --------------------------------------------
2 回复

jdk版本低?maven版本低?

总得给点前因后果吧

我的环境有问题,改一下就好了****

添加回复
请先登陆
回到顶部