Netbeans 禁用了所有功能 &当我中断插件升级过程时,它变成了一个简单的文本编辑器
我在插件升级过程中关闭了 Netbeans然后它就禁用了一切。如何取回之前可用的所有内容?我已尝试再次更新,但它显示:
您的 IDE 已是最新的!
可能它只搜索剩余的少数内容。它已经变得像一个简单的文本编辑器:(
无论如何我都不想丢失我的设置..使用netbeans 7
编辑:
我看到插件仍然安装但它们已被停用。当我尝试激活它们时,它失败了,发出以下消息:
激活失败:并非所有请求的模块都可以启用: [StandardModule:org.netbeans.modules.ant.kit jarFile: C:\Program 文件\NetBeans 7.0\java\modules\org-netbeans-modules-ant-kit.jar, 标准模块:org.netbeans.modules.form.kit jar文件:C:\Program 文件\NetBeans 7.0\java\modules\org-netbeans-modules-form-kit.jar, 标准模块:org.netbeans.modules.versioning.system.cvss jar文件: C:\Program Files\NetBeans 7.0\ide\modules\org-netbeans-modules-versioning-system-cvss.jar,StandardModule:org.netbeans.modules.hudson jar文件:C:\ Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-hudson.jar, 标准模块:org.netbeans.modules.websvc.restkit jar文件:C:\Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-websvc-restkit.jar,StandardModule:org.netbeans.modules.core.kit jar文件:C:\ Program 文件\NetBeans 7.0\platform\modules\org-netbeans-modules-core-kit.jar, StandardModule:org.netbeans.modules.web.primefaces jarFile: C:\Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-web-primefaces.jar,StandardModule:org.netbeans.modules.apisupport.kit jar文件:C:\ Program 文件\NetBeans 7.0\apisupport\modules\org-netbeans-modules-apisupport-kit.jar,StandardModule:org.netbeans.modules.subversion jar文件:C:\ Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-subversion.jar, StandardModule:org.netbeans.modules.localhistory jar文件: C:\Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-localhistory.jar, 标准模块:org.netbeans.modules.spring.beans jar文件:C:\Program 文件\NetBeans 7.0\java\modules\org-netbeans-modules-spring-beans.jar, 标准模块:org.netbeans.modules.j2ee.persistence.kit jar文件: C:\Program Files\NetBeans 7.0\java\modules\org-netbeans-modules-j2ee-persistence-kit.jar,StandardModule:org.netbeans.modules.hibernate jar文件:C:\ Program 文件\NetBeans 7.0\java\modules\org-netbeans-modules-hibernate.jar, 标准模块:org.netbeans.modules.web.jsf.kit jar文件:C:\Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-web-jsf-kit.jar,StandardModule:org.netbeans.modules.mercurial jar文件:C:\ Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-mercurial.jar, 标准模块:org.netbeans.modules.debugger.jpda.ui jar文件: C:\Program Files\NetBeans 7.0\java\modules\org-netbeans-modules-debugger-jpda-ui.jar,StandardModule:org.netbeans.modules.maven.kit jar文件:C:\ Program 文件\NetBeans 7.0\java\modules\org-netbeans-modules-maven-kit.jar, StandardModule:org.netbeans.modules.bugzilla jar文件: C:\Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-bugzilla.jar, 标准模块:org.netbeans.modules.web.kit jar文件:C:\Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-web-kit.jar, StandardModule:org.netbeans.modules.java.kit jar文件: C:\Program 文件\NetBeans 7.0\java\modules\org-netbeans-modules-java-kit.jar, 标准模块:org.netbeans.modules.ide.branding.kit jar文件: C:\Program Files\NetBeans 7.0\nb\modules\org-netbeans-modules-ide-branding-kit.jar,StandardModule:org.netbeans.modules.spellchecker.kit jar文件: C:\Program Files\NetBeans 7.0\ide\modules\org-netbeans-modules-spellchecker-kit.jar,StandardModule:org.netbeans.modules.web.struts jar文件:C:\ Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-web-struts.jar, StandardModule:org.netbeans.modules.websvc.saas.kit jar文件: C:\Program Files\NetBeans 7.0\websvccommon\modules\org-netbeans-modules-websvc-saas-kit.jar,StandardModule:org.netbeans.modules.db.kit jar文件:C:\ Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-db-kit.jar, 标准模块:org.netbeans.modules.profiler jar文件:C:\Program 文件\NetBeans 7.0\profiler\modules\org-netbeans-modules-profiler.jar, 标准模块:org.netbeans.modules.websvc.kit jar文件:C:\Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-websvc-kit.jar,StandardModule:org.netbeans.modules.ide.kit jar文件:C:\ Program 文件\NetBeans 7.0\ide\modules\org-netbeans-modules-ide-kit.jar, 标准模块:org.netbeans.modules.spring.webmvc jar文件:C:\Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-spring-webmvc.jar,StandardModule:org.netbeans.modules.j2ee.kit jar文件:C:\ Program 文件\NetBeans 7.0\enterprise\modules\org-netbeans-modules-j2ee-kit.jar]
I switched off Netbeans while the plugins upgrade was in progress & then it has disabled everything. How do I get back everything that was available before? I've tried updating once again but it says:
Your IDE is up to date!
Probably it searches only for the few things remaining. It has become like a simple text editor :(
I don't want to lose my settings anyhow.. Using netbeans 7
EDIT:
I see that the plugins are still installed but they have been deactivated. When I try to activate them, it fails, giving out following message:
Activation failed: Not all requested modules can be enabled:
[StandardModule:org.netbeans.modules.ant.kit jarFile: C:\Program
Files\NetBeans 7.0\java\modules\org-netbeans-modules-ant-kit.jar,
StandardModule:org.netbeans.modules.form.kit jarFile: C:\Program
Files\NetBeans 7.0\java\modules\org-netbeans-modules-form-kit.jar,
StandardModule:org.netbeans.modules.versioning.system.cvss jarFile:
C:\Program Files\NetBeans
7.0\ide\modules\org-netbeans-modules-versioning-system-cvss.jar, StandardModule:org.netbeans.modules.hudson jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-hudson.jar,
StandardModule:org.netbeans.modules.websvc.restkit jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-websvc-restkit.jar, StandardModule:org.netbeans.modules.core.kit jarFile: C:\Program
Files\NetBeans 7.0\platform\modules\org-netbeans-modules-core-kit.jar,
StandardModule:org.netbeans.modules.web.primefaces jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-web-primefaces.jar, StandardModule:org.netbeans.modules.apisupport.kit jarFile: C:\Program
Files\NetBeans
7.0\apisupport\modules\org-netbeans-modules-apisupport-kit.jar, StandardModule:org.netbeans.modules.subversion jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-subversion.jar,
StandardModule:org.netbeans.modules.localhistory jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-localhistory.jar,
StandardModule:org.netbeans.modules.spring.beans jarFile: C:\Program
Files\NetBeans 7.0\java\modules\org-netbeans-modules-spring-beans.jar,
StandardModule:org.netbeans.modules.j2ee.persistence.kit jarFile:
C:\Program Files\NetBeans
7.0\java\modules\org-netbeans-modules-j2ee-persistence-kit.jar, StandardModule:org.netbeans.modules.hibernate jarFile: C:\Program
Files\NetBeans 7.0\java\modules\org-netbeans-modules-hibernate.jar,
StandardModule:org.netbeans.modules.web.jsf.kit jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-web-jsf-kit.jar, StandardModule:org.netbeans.modules.mercurial jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-mercurial.jar,
StandardModule:org.netbeans.modules.debugger.jpda.ui jarFile:
C:\Program Files\NetBeans
7.0\java\modules\org-netbeans-modules-debugger-jpda-ui.jar, StandardModule:org.netbeans.modules.maven.kit jarFile: C:\Program
Files\NetBeans 7.0\java\modules\org-netbeans-modules-maven-kit.jar,
StandardModule:org.netbeans.modules.bugzilla jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-bugzilla.jar,
StandardModule:org.netbeans.modules.web.kit jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-web-kit.jar, StandardModule:org.netbeans.modules.java.kit jarFile: C:\Program
Files\NetBeans 7.0\java\modules\org-netbeans-modules-java-kit.jar,
StandardModule:org.netbeans.modules.ide.branding.kit jarFile:
C:\Program Files\NetBeans
7.0\nb\modules\org-netbeans-modules-ide-branding-kit.jar, StandardModule:org.netbeans.modules.spellchecker.kit jarFile:
C:\Program Files\NetBeans
7.0\ide\modules\org-netbeans-modules-spellchecker-kit.jar, StandardModule:org.netbeans.modules.web.struts jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-web-struts.jar, StandardModule:org.netbeans.modules.websvc.saas.kit jarFile:
C:\Program Files\NetBeans
7.0\websvccommon\modules\org-netbeans-modules-websvc-saas-kit.jar, StandardModule:org.netbeans.modules.db.kit jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-db-kit.jar,
StandardModule:org.netbeans.modules.profiler jarFile: C:\Program
Files\NetBeans 7.0\profiler\modules\org-netbeans-modules-profiler.jar,
StandardModule:org.netbeans.modules.websvc.kit jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-websvc-kit.jar, StandardModule:org.netbeans.modules.ide.kit jarFile: C:\Program
Files\NetBeans 7.0\ide\modules\org-netbeans-modules-ide-kit.jar,
StandardModule:org.netbeans.modules.spring.webmvc jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-spring-webmvc.jar, StandardModule:org.netbeans.modules.j2ee.kit jarFile: C:\Program
Files\NetBeans
7.0\enterprise\modules\org-netbeans-modules-j2ee-kit.jar]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
解决此问题的最简单方法是重新安装 NetBeans。我不相信您的设置已损坏。因此,为了保留您的设置,在卸载之前您需要导出您的设置。
请注意,如果未启用某个类别,则表示您尚未对该类别进行任何更改。
如果您定义了库并希望保存配置,则需要复制位于
.netbeans
目录中的 build.properties 文件,因为单独导出不会保存此配置(因为事实上这些设置应该能够重新定位到另一台计算机上,并且库特定于您的计算机)。在 Windows 中,.netbeans
目录位于您的用户目录中。例如,在我的计算机 (Windows 7) 上,此位置为C:\Users\Jonathan\.netbeans
。重新安装后,将设置导入回 IDE,然后替换 build.properties 文件。
The simplest way to fix this is to re-install NetBeans. I don't believe that your settings have been corrupted. So, in order to keep your settings, before you uninstall you'll need to export your settings.
Note, that If a category is not enabled this means that you have not made any changes in that category.
If you have libraries defined and would like to save the configuration, you need to copy your build.properties file which is located in your
.netbeans
directory as exporting alone will not save this configuration (due to the fact that these settings should be able to be relocated on another machine and the libraries are specific to your machine). In Windows, your.netbeans
directory is located in your user directory. For example, on my machine (Windows 7) this location isC:\Users\Jonathan\.netbeans
.After you've re-installed, import your settings back into the IDE and then replace the build.properties file.
我遇到了同样的问题,在尝试了一些之后认为以下两个步骤可以解决问题:
~/netbeans-XX/bin/netbeans --jdkhome /usr/lib/jvm/java-7-openjdk-amd64/
I had the same problem, after trying some thinks the following two steps solve the problem:
~/netbeans-X.X/bin/netbeans --jdkhome /usr/lib/jvm/java-7-openjdk-amd64/
从 java 7 升级到 java 8 后,我遇到了同样的问题。浪费了几分钟后,我发现 netbeans 没有看到正确的 jdkhome。我分两步解决了这个问题:
重新启动 IDE。
I had the same problem after upgrading from java 7 to java 8. After wasting a few minutes, I discovered that netbeans wasn't seeing the right jdkhome. I solved the problem in two steps:
Restart the IDE.