LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1471|回复: 3

Eclipse打开出错

[复制链接]
发表于 2006-10-21 08:45:12 | 显示全部楼层 |阅读模式
我的系统是Fedora Core 5;前几天非正常关机,文件系统出错,用光盘mount上系统并用fsck检查之后,一些软件用不了或者出现冲突。包括eclipse。eclipse的出错文档内容如下:


  1. !SESSION 2006-10-21 07:30:30.533 -----------------------------------------------
  2. eclipse.buildId=M20060118-1600
  3. java.version=1.5.0_07
  4. java.vendor=Sun Microsystems Inc.
  5. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN
  6. Command-line arguments: -os linux -ws gtk -arch x86

  7. !ENTRY initial@reference:file:plugins/org.eclipse.core.runtime_3.1.2.jar/ 0 0 2006-10-21 07:30:34.751
  8. !MESSAGE FrameworkEvent.ERROR
  9. !STACK 0
  10. org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
  11.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
  12.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
  13.    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
  14.    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  15.    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  16.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  17.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  18.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  19.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  20.    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  21.    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
  22. Caused by: java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/impl/validation/ValidationState
  23.    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.<init>(Unknown Source)
  24.    at com.sun.org.apache.xerces.internal.impl.dtd.XMLNSDTDValidator.<init>(Unknown Source)
  25.    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.<init>(Unknown Source)
  26.    at com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration.<init>(Unknown Source)
  27.    at com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration.<init>(Unknown Source)
  28.    at com.sun.org.apache.xerces.internal.parsers.JAXPConfiguration.<init>(Unknown Source)
  29.    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(Unknown Source)
  30.    at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
  31.    at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
  32.    at org.eclipse.core.internal.registry.ExtensionsParser.parseManifest(ExtensionsParser.java:370)
  33.    at org.eclipse.core.internal.registry.EclipseBundleListener.getBundleModel(EclipseBundleListener.java:197)
  34.    at org.eclipse.core.internal.registry.EclipseBundleListener.addBundle(EclipseBundleListener.java:101)
  35.    at org.eclipse.core.internal.registry.EclipseBundleListener.processBundles(EclipseBundleListener.java:82)
  36.    at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:687)
  37.    at org.eclipse.core.internal.runtime.PlatformActivator.startRegistry(PlatformActivator.java:84)
  38.    at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:58)
  39.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  40.    at java.security.AccessController.doPrivileged(Native Method)
  41.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  42.    ... 10 more
  43. Root exception:
  44. java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/impl/validation/ValidationState
  45.    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.<init>(Unknown Source)
  46.    at com.sun.org.apache.xerces.internal.impl.dtd.XMLNSDTDValidator.<init>(Unknown Source)
  47.    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.<init>(Unknown Source)
  48.    at com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration.<init>(Unknown Source)
  49.    at com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration.<init>(Unknown Source)
  50.    at com.sun.org.apache.xerces.internal.parsers.JAXPConfiguration.<init>(Unknown Source)
  51.    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(Unknown Source)
  52.    at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
  53.    at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
  54.    at org.eclipse.core.internal.registry.ExtensionsParser.parseManifest(ExtensionsParser.java:370)
  55.    at org.eclipse.core.internal.registry.EclipseBundleListener.getBundleModel(EclipseBundleListener.java:197)
  56.    at org.eclipse.core.internal.registry.EclipseBundleListener.addBundle(EclipseBundleListener.java:101)
  57.    at org.eclipse.core.internal.registry.EclipseBundleListener.processBundles(EclipseBundleListener.java:82)
  58.    at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:687)
  59.    at org.eclipse.core.internal.runtime.PlatformActivator.startRegistry(PlatformActivator.java:84)
  60.    at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:58)
  61.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  62.    at java.security.AccessController.doPrivileged(Native Method)
  63.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  64.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
  65.    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
  66.    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  67.    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  68.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  69.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  70.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  71.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  72.    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  73.    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)

  74. !ENTRY initial@reference:file:plugins/org.eclipse.update.configurator_3.1.0.jar/ 0 0 2006-10-21 07:30:34.809
  75. !MESSAGE FrameworkEvent.ERROR
  76. !STACK 0
  77. org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() of bundle org.eclipse.update.configurator.
  78.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
  79.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
  80.    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
  81.    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  82.    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  83.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  84.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  85.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  86.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  87.    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  88.    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
  89. Caused by: java.lang.Exception: Cannot initialize the Update Configurator
  90.    at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
  91.    at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
  92.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  93.    at java.security.AccessController.doPrivileged(Native Method)
  94.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  95.    ... 10 more
  96. Root exception:
  97. java.lang.Exception: Cannot initialize the Update Configurator
  98.    at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
  99.    at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
  100.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
  101.    at java.security.AccessController.doPrivileged(Native Method)
  102.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
  103.    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
  104.    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
  105.    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
  106.    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
  107.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
  108.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
  109.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
  110.    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
  111.    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
  112.    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)

  113. !ENTRY org.eclipse.osgi 2006-10-21 07:30:34.969
  114. !MESSAGE Startup error
  115. !STACK 1
  116. java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.2.jar/ [1] is not active.
  117.    at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:410)
  118.    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
  119.    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
  120.    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  121.    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  122.    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  123.    at java.lang.reflect.Method.invoke(Unknown Source)
  124.    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
  125.    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
  126.    at org.eclipse.core.launcher.Main.run(Main.java:973)
  127.    at org.eclipse.core.launcher.Main.main(Main.java:948)
复制代码

请问有什么办法解决?
 楼主| 发表于 2006-10-21 08:49:08 | 显示全部楼层
好象fsck查找错误时删了/lib下的文件。我试过rpm -Uvh --replacepkgs  eclipse……
错误还是那样。大大们帮忙一下。谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-10-23 19:29:28 | 显示全部楼层
删除你的系统中有关eclipse软件的东西(当然工程文件除外:)),去eclipse网站下载一个回来装上试试?
我的系统是Redhat Linux9.0+eclipse3.1(手工下载的eclipse安装文件)

欢迎访问我的JAVA学习日记:http://java.learndiary.com
回复 支持 反对

使用道具 举报

发表于 2006-11-4 17:13:57 | 显示全部楼层
cd ~
rm -R .eclipse
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表