XPocket 执行报错
centos7.0 jdk1.8 报错信息:
java.lang.NoClassDefFoundError: com/sun/tools/attach/AttachNotSupportedException
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 com.perfma.doraemon.launcher.check.CheckUpdate.runLauncher(CheckUpdate.java:155)
at com.perfma.doraemon.launcher.check.CheckUpdate.checkAndUpdate(CheckUpdate.java:94)
at com.perfma.doraemon.launcher.DoraemonLauncher.main(DoraemonLauncher.java:17)
Caused by: java.lang.ClassNotFoundException: com.sun.tools.attach.AttachNotSupportedException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at com.perfma.doraemon.launcher.util.DoraemonClassLoader.loadClass(DoraemonClassLoader.java:44)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 8 more