NetBeans 无法安装某些模块

2022-09-05 00:06:55

我使用的是 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 拷贝的帮助。


答案 1

这很简单:

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

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


答案 2

1. 卸载网豆

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. 重新安装

我做了以下步骤,它工作了:)


推荐