NetBeans无法安装某些模块

时间:2013-08-31 06:24:02

标签: java php netbeans netbeans-7

我正在使用NetBeans 7.4开发版本2,所有软件包。

首先我使用了NetBeans 7.2,所有包。然后我被通知我有更新。所以我将其更新为7.4开发版。

然后我又收到通知,我有更新,我开始更新。但是错误地,我在NetBeans更新时单击了一个php文件,并且发生了导致更新失败的错误。我记不起错误信息。

**现在我的问题是,当我启动NetBeans时,收到以下错误消息:**

Warning - could not install some modules: org.eclipse.core.runtime.compatibility.auth - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-core-runtime-compatibility-auth.jar: Cannot start org.eclipse.core.runtime.compatibility.auth state remains INSTALLED after start() org.eclipse.equinox.registry - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-equinox-registry.jar: Cannot start org.eclipse.equinox.registry state remains INSTALLED after start() org.eclipse.core.contenttype - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-core-contenttype.jar: Cannot start org.eclipse.core.contenttype state remains INSTALLED after start() org.eclipse.equinox.app - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-equinox-app.jar: Cannot start org.eclipse.equinox.app state remains INSTALLED after start() org.eclipse.core.runtime - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-core-runtime.jar: Cannot start org.eclipse.core.runtime state remains INSTALLED after start() org.eclipse.equinox.security - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-equinox-security.jar: Cannot start org.eclipse.equinox.security state remains INSTALLED after start() org.eclipse.core.net - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 7.3 Beta 2\ide\modules\org-eclipse-core-net.jar: Cannot start org.eclipse.core.net state remains INSTALLED after start() org.eclipse.mylyn.commons.core - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-commons-core.jar: Cannot start org.eclipse.mylyn.commons.core state remains INSTALLED after start() org.eclipse.mylyn.commons.net - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-commons-net.jar: Cannot start org.eclipse.mylyn.commons.net state remains INSTALLED after start() org.eclipse.mylyn.commons.xmlrpc - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-commons-xmlrpc.jar: Cannot start org.eclipse.mylyn.commons.xmlrpc state remains INSTALLED after start() org.eclipse.mylyn.commons.repositories.core - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-commons-repositories-core.jar: Cannot start org.eclipse.mylyn.commons.repositories.core state remains INSTALLED after start() org.eclipse.mylyn.tasks.core - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-tasks-core.jar: Cannot start org.eclipse.mylyn.tasks.core state remains INSTALLED after start() org.eclipse.mylyn.bugzilla.core - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-bugzilla-core.jar: Cannot start org.eclipse.mylyn.bugzilla.core state remains INSTALLED after start() org.eclipse.mylyn.wikitext.core - org.netbeans.InvalidException: Netigso: C:\Users\Arif Rana\AppData\Roaming\NetBeans\7.3beta2\modules\org-eclipse-mylyn-wikitext-core.jar: Cannot start org.eclipse.mylyn.wikitext.core state remains INSTALLED after start()

enter image description here

现在,如果单击“禁用模块并继续”,则会禁用插件。然后,如果我尝试激活插件,我会收到另一条错误消息。激活“开发Netbeans”插件时,以下图像是错误消息。

enter image description here

我不想从我的电脑上卸载NetBeans,因为我非常习惯使用它,而且我有自定义设置。

所以我需要有关如何修复已安装的NetBeans副本的帮助。

5 个答案:

答案 0 :(得分:23)

非常简单:

1 - 尝试找到此文件/home/yourname/.cache/netbeans

2 - 并清除所有文件enter image description here

答案 1 :(得分:8)

1。卸载Net Beans

2。只需删除以下所有内容:

C:\Users\your_name\AppData\Local\NetBeans\Cache\8.1\

C:\Users\your_name\AppData\Roaming\NetBeans\8.1\

I am using 8.1 version. 

3。删除后只需重启机器。

4. 重新安装

我做了以下步骤并且有效:)

答案 2 :(得分:2)

我有同样的问题。如果您将获得版本7.4并将其安装在干净的PC上(或删除所有netbeans数据/配置文件夹)并禁用检查更新,则在安装期间安装将继续进行而不会出现错误并且netbeans会运行。在第一次更新的情况下,问题又回来了。

答案 3 :(得分:0)

在modules目录中(在userdir http://wiki.netbeans.org/FaqWhatIsUserdir中),找到该错误中出现的文件(如org.eclipse.core.runtime.compatibility.auth),然后删除或移动到另一个目录中。

答案 4 :(得分:0)

我在Apache Netbeans 11.2中遇到了同样的问题。如上所述,删除Cache可行,但是我将添加我替换了安装文件夹,但我没有安装程序。通过再次将下载文件解压缩并替换安装文件夹,它可以正常工作,压缩的下载文件很好,但似乎安装文件夹也已损坏。