我刚刚在nb7.1中使用http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz而且它没有出现。
我想从它的home目录中打开一些插件。我该如何实现?
然后我在NB论坛上阅读(http://forums.netbeans.org/post-124523.html#115641),我发现这些家伙在说"不要做这一步,它会使Netbeans崩溃"但没有人知道如何扭转这种局面。
编辑
这是日志输出
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module net.sf.efhnbm: added = [module org.openide.awt, module org.openide.options > 6.7, module org.openide.util.lookup > 8.0] removed = []; details: [#170056: Separate module for Lookup API, #88531 Remove SystemOption usage from PrintSettings, SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.netbeans.modules.selenium.php: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
java.lang.NoClassDefFoundError: org/osgi/framework/startlevel/BundleStartLevel while loading org.eclipse.osgi.framework.internal.core.AbstractBundle; see http://wiki.netbeans.org/DevFaqTroubleshootClassNotFound
at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:304)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:227)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:75)
at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:149)
at org.netbeans.NetigsoFramework.turnOn(NetigsoFramework.java:214)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1087)
at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:169)
at org.netbeans.core.startup.Main.start(Main.java:305)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: org/osgi/framework/startlevel/BundleStartLevel
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:266)
at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:300)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.osgi.framework.startlevel.BundleStartLevel starting from ModuleCL@57f530d8[org.netbeans.modules.netbinox] with possible defining loaders null and declared parents [ModuleCL@4145f572[org.netbeans.core.netigso], org.netbeans.MainImpl$BootClassLoader@18b753f8, ModuleCL@65cc892e[org.netbeans.libs.osgi]]
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:264)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 22 more
Caused by: java.lang.ClassNotFoundException: org.osgi.framework.startlevel.BundleStartLevel
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:262)
... 23 more
问候,
我在Users\$MyUser$\AppData\Roaming\Netbeans\7.2 下找到了被破解的插件
特别注意Python探测目录中的文件(读:已删除),这些文件与我遇到启动问题的时间相匹配。Netbeans之后运行良好。
至少在我的情况下,是"开发更新中心"的添加破坏了netbeans,而不是python插件本身。请参阅帖子https://stackoverflow.com/a/9993301/970910以寻求可能的解决方案。
为了手动删除插件:
在您的家中,有一个.netbeans目录。进入并删除这里的插件文件。
http://forums.netbeans.org/post-78253.html&highlight=
用新安装覆盖您的netbeans,用新安装更好地升级您的netbean(最新版本),保留旧安装。然后卸载你的旧副本,它将保持你的项目不变。
如果你想保留netbeans7.1,那么只需使用netbeans内置的插件管理器覆盖并删除插件。