安装python后,Netbeans 7.1将无法运行

时间:2012-03-04 08:37:50

标签: python netbeans ide netbeans-7

我刚刚使用http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz在nb7.1中安装了python并且它没有显示出来。

我想从其家庭目录中转换一些插件。我怎样才能做到这一点?

然后我在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

此致

4 个答案:

答案 0 :(得分:3)

我在Users \ $ MyUser $ \ AppData \ Roaming \ Netbeans \ 7.2下找到了blasted插件

在Python声音目录中特别注意(读取:删除)文件,这些文件与我遇到启动问题的时间相匹配。 Netbeans之后运行良好。

答案 1 :(得分:2)

至少在我的情况下,增加了#34;开发更新中心"这打破了netbeans而不是python插件本身。请参阅帖子https://stackoverflow.com/a/9993301/970910以获得解决问题的可能方法。

答案 2 :(得分:1)

要手动删除插件:

  

进入家中,有一个 .netbeans 目录。进入内部并在此处删除插件文件。

http://forums.netbeans.org/post-78253.html&highlight=

答案 3 :(得分:0)

使用全新安装覆盖您的netbeans,使用全新安装更好地升级您的netbeans(最新版本),并保留旧版本。然后卸载旧版本,它将保持您的项目不受影响。

如果你想保留netbeans7.1,那么只需覆盖然后使用netbeans builtin插件管理器删除插件。