Topic: 帮帮忙,我的eclipse3.0解开后,抛出异常。在线等,谢谢

  Print this page

1.帮帮忙,我的eclipse3.0解开后,抛出异常。在线等,谢谢 Copy to clipboard
Posted by: sundaowei781207
Posted on: 2004-07-29 15:51

帮帮忙,我的eclipse3.0解开后,抛出异常

!SESSION 7 29, 2004 15:49:21.573 -----------------------------------------------
eclipse.buildId=I200406251208
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP

!ENTRY org.eclipse.osgi 7 29, 2004 15:49:21.573
!MESSAGE Error registering XML parser services.
!STACK 0
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.eclipse.core.runtime.adaptor.EclipseAdaptor.registerEndorsedXMLParser(EclipseAdaptor.java:272)
  at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(EclipseAdaptor.java:253)
  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:553)
  at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)
  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:425)
  at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:216)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
  at org.eclipse.core.launcher.Main.run(Main.java:644)
  at org.eclipse.core.launcher.Main.main(Main.java:628)

2.Re:帮帮忙,我的eclipse3.0解开后,抛出异常。在线等,谢谢 [Re: sundaowei781207] Copy to clipboard
Posted by: zsumore
Posted on: 2004-07-29 16:39


java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory


3.Re:帮帮忙,我的eclipse3.0解开后,抛出异常。在线等,谢谢 [Re: sundaowei781207] Copy to clipboard
Posted by: BlurEyes
Posted on: 2004-07-29 16:59

jdk版本要1.4以上。

4.Re:帮帮忙,我的eclipse3.0解开后,抛出异常。在线等,谢谢 [Re: sundaowei781207] Copy to clipboard
Posted by: spi_cn
Posted on: 2004-07-29 22:36

我也遇到过,再系统的Path中加上JDK1.4的路径,而且要加在其它低版本JDK路径的前面!

5.Re:帮帮忙,我的eclipse3.0解开后,抛出异常。在线等,谢谢 [Re: sundaowei781207] Copy to clipboard
Posted by: sundaowei781207
Posted on: 2004-07-30 08:26

谢谢,找到原因了。是因为Oracle中带的JDK是1.3。并且我的环境变量都是指向1.3。
小弟是刚来的,昨天太急了。没有向各位前辈打招呼,以后请多多关照


   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