【发布时间】:2016-12-14 10:39:15
【问题描述】:
问题:我启动 Netbeans 8.2,启动对话框显示,它通过启动模块然后退出。 IDE 没有启动。在此之后某些东西仍在运行(ps aux | grep netbeans 显示正常的 Netbeans 进程正在运行)我查看了日志文件(~/netbeans-8.2/nb/var/log/ 和 ~/.netbeans/8.2/var /log/`) 并发现以下警告:
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.netbeans.asciidoc: added = [module org.netbeans.api.templates > 1.0, module org.netbeans.api.progress.compat8 > 1.40, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.netbeans.api.progress.nb > 1.40, module org.openide.filesystems.compat8] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of desktop and cleanup, Swing dependencies split away, Templates API has been separated into its own module.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module show.branch.in.statusbar: added = [module org.netbeans.api.templates > 1.0, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.openide.filesystems.compat8] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of desktop and cleanup, Templates API has been separated into its own module.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module eu.doppel_helix.netbeans.plist.PropertyListSupport: added = [module org.netbeans.api.templates > 1.0, module org.netbeans.modules.csl.types/1 > 1.0, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.openide.filesystems.compat8, module org.netbeans.modules.editor.document > 1.0, module org.netbeans.modules.parsing.indexing > 9.0] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of Parsing and Indexing APIs, Separation of desktop and cleanup, Splitting parts of csl.api off into csl.types, Templates API has been separated into its own module., The old editor settings and completion APIs have been deprecated, see http://wiki.netbeans.org/EditorSettingsUpgrade and update your module.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module nb.maven.project.setjdk: added = [module org.openide.filesystems.nb, module org.openide.filesystems.compat8, module org.openide.util.ui > 9.3] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of desktop and cleanup]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module de.markiew.netbeans.plugin.restart: added = [module org.openide.util.ui > 9.3] removed = []; details: [#243100: Separate desktop-independent utilities]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module com.peter.mavenrunner: added = [module org.openide.filesystems.nb, module org.openide.filesystems.compat8] removed = []; details: [Separation of desktop and cleanup]
INFO [org.netbeans.modules.netbinox]: Install area set to file:/home/o.o/netbeans-8.2/
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.form.nb] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.)
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.hints, org.netbeans.modules.maven.hints, org.netbeans.modules.maven.j2ee, org.netbeans.modules.web.beans] use org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java Hints SPI (org.netbeans.spi.java.hints) instead.
WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [SNIP: very long list of xml files]
WARNING [null]: Last record repeated 2 more times.
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: [SNIP: list of modules]
... [More Info entries]...
WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [Git], but some are: [File, Clipboard, UndoRedo, Build, Debug, Memory, Standard.xml, Debugging.xml]
INFO [org.netbeans.libs.svnclientadapter]: Javahl client adapter is not available
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /usr/lib/jvm/java-8-oracle/jre/lib/amd64:/usr/lib/jvm/java-8-oracle/jre/lib/i386::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: JavaHL not available. Falling back on SvnKit.
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 0 entries. Elapsed time: 0 ms.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: svnClientAdapter running on svnkit
我没有明确运行任何 Netbeans 更新。 Netbeans 将工作几天,然后解决这个问题。
解决方法: Google叔叔说(大多数搜索结果,例如this,也包括SO)说要删除Netbeans用户目录,即~/.netbeans/8.2/(以及Netbeans缓存目录) 这可行,但我必须重新安装插件并重做快捷键。
我的系统:
- Ubuntu 16.04(在 amd64 上运行的 Linux 版本 4.4.0-53-generic;UTF-8;en_GB (nb))
- Java:1.8.0_101; Java HotSpot(TM) 64 位服务器 VM 25.101-b13
- 运行时:Java(TM) SE 运行时环境 1.8.0_101-b13
- NetBeans IDE 8.2(内部版本 201609300101)
问题:我应该在哪里查找导致 Netbeans 无法加载的原因?我讨厌周围的工作,并想找到罪魁祸首
【问题讨论】: