无法在netbeans 8.0.2中创建新项目

时间:2015-11-17 18:36:26

标签: java netbeans ubuntu-14.04

我在ubuntu 14.04上安装netbeans 8.0.2。我可以打开我的旧项目。当我创建新项目时会发生问题。

这是错误:

java.lang.ClassNotFoundException: org.openide.WizardDescriptor$WizardPanel$AccessibleWizardPanel
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
            at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
        Caused: java.lang.ClassNotFoundException: org.openide.WizardDescriptor$WizardPanel$AccessibleWizardPanel starting from ModuleCL@5d1b0d65[org.openide.dialogs] with possible defining loaders [ModuleCL@5d1b0d65[org.openide.dialogs]] and declared parents [org.netbeans.MainImpl$BootClassLoader@48454bc7, ModuleCL@5eebd82d[org.openide.awt], ModuleCL@4dbda30a[org.netbeans.api.progress]]
            at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        Caused: java.lang.NoClassDefFoundError: org/openide/WizardDescriptor$WizardPanel$AccessibleWizardPanel
            at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:911)
            at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:822)
            at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:754)
            at org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:71)
            at org.openide.loaders.TemplateWizard$2.run(TemplateWizard.java:497)
            at org.openide.loaders.TemplateWizard$2.run(TemplateWizard.java:494)
            at org.openide.util.Mutex$1AWTWorker.run(Mutex.java:1394)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
            at java.awt.EventQueue.access$300(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:706)
            at java.awt.EventQueue$3.run(EventQueue.java:704)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
            at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

有什么不对?我已经更新了我的netbeans。

0 个答案:

没有答案