我最近尝试安装https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_8中描述的NetBeans插件
然而,当我现在尝试启动NetBeans时,我得到了一个可怕的错误,开始如下所示:
Warning - could not install some modules: Java Source Queries - None of the modules providing the capability org.netbeans.modules.java.source.queries.spi.QueriesController could be installed. Debugger Core API - The module named org.openide.filesystems.compat8 was needed and not found. Resource Bundles - The module named org.openide.filesystems.compat8 was needed and not found. Quick Search API - The module named org.openide.filesystems.compat8 was needed and not found. Quick Search API - The module named org.netbeans.api.progress.compat8 was needed and not found. XML Core - The module named org.netbeans.api.xml.ui/1 was needed and not found. XML Core - The module named org.openide.filesystems.compat8 was needed and not found. XML Multiview Editor - The module named org.openide.filesystems.compat8 was needed and not found. Common Palette - The module named org.openide.filesystems.compat8 was needed and not found. Templates - The module named org.openide.filesystems.compat8 was needed and not found. Settings API - The module named org.openide.filesystems.compat8 was needed and not found. Auto Update Services - The module named org.openide.filesystems.compat8 was needed and not found. Auto Update Services - The module named org.netbeans.api.progress.compat8 was needed and not found. REST Application Platform Sample - The module named org.openide.filesystems.compat8 was needed and not found. .manifest file Editor Support - The module named org.openide.filesystems.compat8 was needed and not found. .diff File Editor Support - The module named org.openide.filesystems.compat8 was needed and not found. Java Support APIs - The module named org.openide.filesystems.compat8 was needed and not found. Java Platform - The module named org.openide.filesystems.compat8 was needed and not found. User Utilities - The module named org.openide.filesystems.compat8 was needed and not found. js-test-driver Wrapper - The module named org.openide.filesystems.compat8 was needed and not found. Editor Settings - None of the modules providing the capability org.netbeans.api.editor.settings.implementation could be installed. Editor Library 2 - None of the modules providing the capability org.netbeans.modules.editor.actions could be installed. HTTP Server - The module named org.openide.filesystems.compat8 was needed and not found. HTTP Server-Side Monitor - None of the modules providing the capability org.openide.util.HttpServer$Impl could be installed. HTTP Server-Side Monitor - The module named org.openide.filesystems.compat8 was needed and not found.
一页地继续。
我在OS上运行它。
我已经删除了目录/Users/<MyUser>/Library/Application Support/NetBeans和/Users/<MyUser>/Library/Caches/NetBeans,正如我在一些地方看到的那样,但我仍然收到相同的错误。
这完全削弱了我,阻止我做任何工作,我不知道发生了什么,也不知道如何解决它。
任何帮助都将受到极大的感谢。
发布于 2014-12-11 22:46:36
在遇到同样的僵局后,我在netbeans.org和其他网站上来回搜索,并向bugs https://netbeans.org/bugzilla/show_bug.cgi?id=248986和https://netbeans.org/bugzilla/show_bug.cgi?id=248291#c5提供了我的日志
我穷追不舍地寻找。my %appdata%/Netbeans中的jar和xml文件,按最近修改时间排序,并找到如下文件:
C:\Users\master\AppData\Roaming\NetBeans\8.0\modules org-netbeans-modules-jira-rest.jar org-netbeans-modules-jira-xmlrpc.jar org-netbeans-modules-scanondemand.jar等等。
但是删除它们,或者用以前的版本替换它们,都没有帮助。
我发现没有真正的解决方案来回滚失败的更新,至少要让我的Netbeans重新启动,我在其他地方安装了每晚构建的http://bits.netbeans.org/download/trunk/nightly/latest/进行比较(在虚拟机上,我的“备用”PC上)。
继续将新安装与我的损坏安装进行比较。对我的损坏%appdata%的任何更改似乎都不允许NB启动。
最后,我比较了系统范围的安装文件夹,发现在我损坏的副本中,不仅许多.jar文件大小不同,而且有些文件完全丢失了,包括我收到的启动错误中广泛涉及的这个文件:
C:\ProgramFiles\NetBeans\platform\core\org-openide-filesystems-compat8.jar
这是最强烈的暗示,不会轻易有“修复”……
这就好像https://forums.netbeans.org/posting.php?mode=quote&p=79922中的一些源代码永远不应该被允许进入更新中心。( http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz在我的case....though中,依赖链是完全不清楚的。)
最后,我覆盖了整个C:\ProgramFiles\NetBeans\文件夹,从新安装到损坏的文件夹,并成功启动。
它需要一些更新,然后再重新启动。我的大多数设置仍然在那里,Dark主题,最近的文件列表,等等。除了Ruby on Rails插件,它仍然是禁用的,我仍然在尝试重新添加和启用它,因为它甚至阻止了我的ROR项目的打开。
因此,总而言之,这种糟糕的部分解决方法可能等同于使用开发版重新安装Netbeans (之前我使用的是8.0.2)。
发布于 2014-12-29 06:40:34
请注意,您不应该将开发插件(如Python或Scan-on-Demand)安装到生产安装中。这样做很可能会破坏你的安装,你会很伤心。
如果要使用开发插件,请使用bits.netbeans.org/download/trunk/nightly/latest/提供的NetBeans 开发发行版
目前有一个专门针对IDE8.0.2的Geertjan Python插件;有关这方面的更多信息,请访问Geertjan的博客:https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_81
如果您对开发或测试新的Python插件感兴趣,请访问https://netbeans.org/projects/python/pages/Home加入NetBeans Python项目
https://stackoverflow.com/questions/27190831
复制相似问题