Topic: 大家帮帮忙 (eclipse 3.0为什么启动不起来) (done: needs Java 1.4)

  Print this page

1.大家帮帮忙 (eclipse 3.0为什么启动不起来) (done: needs Java 1.4) Copy to clipboard
Posted by: zc_pei
Posted on: 2004-09-03 21:25

我的eclipse 3.0为什么启动不起来?
下面是Log

!SESSION 9 03, 2004 21:35:47.812 -----------------------------------------------
eclipse.buildId=I200405211200
java.version=1.3.0
java.vendor=FUJITSU LIMITED
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
!ENTRY org.eclipse.osgi 9 03, 2004 21:35:47.812
!MESSAGE Error registering XML parser services.
!STACK 0
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:120)
  at org.eclipse.core.runtime.adaptor.EclipseAdaptor.registerEndorsedXMLParser(EclipseAdaptor.java:251)
  at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(EclipseAdaptor.java:233)
  at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:61)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
  at java.security.AccessController.doPrivileged(Native Method)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:548)
  at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:472)
  at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
  at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:243)
  at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:166)
  at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:423)
  at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:213)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:125)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
  at org.eclipse.core.launcher.Main.run(Main.java:638)
  at org.eclipse.core.launcher.Main.main(Main.java:622)
!ENTRY org.eclipse.osgi 9 03, 2004 21:35:48.15
!MESSAGE Startup error
!STACK 1
java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
  at java.lang.ClassLoader.defineClass0(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
  at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
  at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:547)
  at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:108)
  at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:650)
  at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:196)
  at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:173)
  at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:155)
  at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:236)
  at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)
  at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:436)
  at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:739)
  at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:657)
  at java.security.AccessController.doPrivileged(Native Method)
  at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:708)
  at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:652)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:438)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:219)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:125)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
  at org.eclipse.core.launcher.Main.run(Main.java:638)
  at org.eclipse.core.launcher.Main.main(Main.java:622)

2.Re:大家帮帮忙 [Re: zc_pei] Copy to clipboard
Posted by: zc_pei
Posted on: 2004-09-03 21:26

CLASS_PATH中也有它说的类啊

3.Re:大家帮帮忙 [Re: zc_pei] Copy to clipboard
Posted by: Jove
Posted on: 2004-09-03 21:29

java.version=1.3.0 ...

要用jdk1.4.2

4.Re:大家帮帮忙 [Re: zc_pei] Copy to clipboard
Posted by: zc_pei
Posted on: 2004-09-03 21:30

thanks

5.Re:大家帮帮忙 (eclipse 3.0为什么启动不起来) (done: needs Java 1.4) [Re: zc_pei] Copy to clipboard
Posted by: arnoldzy
Posted on: 2004-09-08 18:39

最简单的办法,找一个1.4.2以上的jre考到eclipse的目录下,叫jre就行了

6.Re:大家帮帮忙 (eclipse 3.0为什么启动不起来) (done: needs Java 1.4) [Re: zc_pei] Copy to clipboard
Posted by: sendtome
Posted on: 2004-09-08 20:58

前两天我也遇到过,可能是你安装了别的软件(如oracle9i之类的),会在path里加入其他的jre路径(在你的jdk路径之前),而jdk1。4后的JAXP实现和以前的不同,因此。。。

最简单的办法就是:检查环境变量path,把那些其他的jre路径删除即可。

7.Re:大家帮帮忙 (eclipse 3.0为什么启动不起来) (done: needs Java 1.4) [Re: sendtome] Copy to clipboard
Posted by: hicks
Posted on: 2004-09-09 16:12

sendtome wrote:
前两天我也遇到过,可能是你安装了别的软件(如oracle9i之类的),会在path里加入其他的jre路径(在你的jdk路径之前),而jdk1。4后的JAXP实现和以前的不同,因此。。。

最简单的办法就是:检查环境变量path,把那些其他的jre路径删除即可。

同意,或者在path里把你的j2sdk\bin路径移到最前面,而且要用1.4的jdk。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923