NetBeans无法安装某些模块

yk9xbfzb  于 2022-11-10  发布在  其他
关注(0)|答案(6)|浏览(265)

我使用的是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()

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

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

因此,我需要有关如何修复已安装的NetBeans副本的帮助。

sy5wg1nm

sy5wg1nm1#

这很简单:
1 -尝试查找此文件/home/yourname/.cache/netbeans
2 -并清除所有文件x1c 0d1x

ygya80vv

ygya80vv2#

**1.**卸载NetBeans
**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.**重新安装

我做了以下步骤,效果很好:)

scyqe7ek

scyqe7ek3#

我也有同样的问题。如果你将获得7. 4版本并将其安装在一台干净的PC上(或删除所有Netbeans数据/配置文件夹),并禁用更新检查,在安装过程中,安装将继续进行,没有错误,Netbeans运行。在第一次更新的情况下,问题又回来了。

nue99wik

nue99wik4#

我在Apache Netbeans 11.2中也遇到了同样的问题。如上所述,删除缓存是有效的,但我需要补充的是,我替换了安装文件夹,我没有安装程序。通过再次解压下载并替换安装文件夹,它有效,压缩下载是好的,但似乎安装文件夹也损坏了。

vddsk6oq

vddsk6oq5#

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

qgelzfjb

qgelzfjb6#

我有同样的问题为我的netbeans 12.2和12.3(我安装了netbeans 12.0 12.1 12.2 12.3和12.4。所有的工作正常,但今天12.2和12.3有同样的问题与你。我试图找到解决方案,在网络上,我发现这个youtube:https://www.youtube.com/watch?v=DTHaI_AWhTw虽然这是不同的问题,但相同的模式。所以我尝试按照他的解决方案。我发现在我的文件netbeans.conf:然后将其更改为netbeans_jdkhome=“C:\Program Files\Java\jdk-16”并保存。当我再次运行netbeans时,它弹出警告:找不到jdk 16你想使用默认版本吗?我点击是,然后程序安装所有模块,并工作正常。当我关闭程序,并再次运行,同样的警告仍然弹出,我点击是,它工作正常。所以我打开文件netbeans.conf,我改回netbeans_jdkhome=“C:\Program Files\Java\jdk-15”。保存它。当我运行netbeans工作正常,没有警告。我希望它会为所有有同样问题的人工作。

相关问题