从终端打开时,Netbeans无法在Ubuntu中打开,显示以下错误。
java.lang.NoClassDefFoundError: java/nio/file/InvalidPathException
at org.openide.filesystems.FileUtil.normalizeFileImpl(Unknown Source)
at org.openide.filesystems.FileUtil.normalizeFile(Unknown Source)
at org.netbeans.core.startup.TopLogging.printSystemInfo(Unknown Source)
at org.netbeans.core.startup.TopLogging.initialize(Unknown Source)
at org.netbeans.core.startup.TopLogging.initialize(Unknown Source)
at org.netbeans.core.startup.CLIOptions.initialize(Unknown Source)
at org.netbeans.core.startup.Main.start(Unknown Source)
at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.ClassNotFoundException:
java.nio.file.InvalidPathException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
... 9 more
请帮助我...
答案 0 :(得分:0)