繁体   English   中英

Netbeans 8.0启动中的错误

[英]Error in Netbeans 8.0 startup

我最近尝试安装在以下网址中描述的NetBeans插件: https : //blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_8

但是,当我现在尝试启动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 X上运行它。

我已经删除了目录/Users/<MyUser>/Library/Application Support/NetBeans/Users/<MyUser>/Library/Caches/NetBeans ,正如我在一些地方提到的那样,但是仍然收到相同的错误。

这完全使我瘫痪,无法进行任何工作,我不知道发生了什么或如何解决。

任何帮助将不胜感激。

遇到了同样的僵局,我在netbeans.org和其他站点上下搜索,将日志提供给错误https://netbeans.org/bugzilla/show_bug.cgi?id=248986https://netbeans.org/bugzilla /show_bug.cgi?id=248291#c5

我详尽搜索了。 我的%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 。...尽管依赖关系的链还不清楚。 )

最终,我将整个C:\\ ProgramFiles \\ NetBeans \\文件夹从全新安装覆盖到损坏的文件夹,然后成功启动。

它需要一些更新,然后再重新启动。 我的大多数设置仍然在那里,黑暗主题,最近的文件列表等。除了Ruby on Rails插件(已被禁用),我仍在尝试重新添加并启用它,因为它甚至阻止了打开我的ROR项目。

因此,总而言之,糟糕的部分解决方法可能等同于使用开发版本重新安装Netbeans(之前我在8.0.2上)。

请注意,不要将开发插件(如Python或按需扫描)安装到生产安装中。 这样做很可能会破坏您的安装,您会为此感到难过。

如果要使用开发插件,请使用 bits.netbeans.org/download/trunk/nightly/latest/中的NetBeans IDE 的开发发行版。

目前 专门针对IDE 8.0.2做出一个Python插件 ; 有关更多信息,请访问Oracle的Geertjan博客: https ://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_81

如果您对开发或测试新的Python插件感兴趣,请通过以下网址 加入NetBeans Python项目https://netbeans.org/projects/python/pages/Home

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM