Java.lang.classNotFoundException: javax.xml.parsers.saxparserfactory

xiaoxiao2021-03-06  43

This is the article I found online, I have not tried it myself. Environment Win2kPro with JDK1.5.0. It can run NetBeans netbeans. But Eclipse is wrong after starting splash and gives a log:! Session Jan 200, 2005 15: 20: 12.281 ----------------------- --------------------- Eclipse.buildid = m200409161125java.version = 1.3.1_01java.vendor = Sun Microsystems Inc.Bootloader Constants: OS = Win32, Arch = x86, WS = Win32, NL = zh_cn

! Entry org.eclipse.osgi January 28, 2005 15: 20: 12.296! Message Error Registering XML Parser Services.! Stack 0java.lang.classNotFoundException: javax.xml.parsers.saxparserFactory Set the environment variable PATH as follows: D: / jdk1 .5.0_01 / bin;% systemroot% / system32;% systemroot%;% systemroot% / system32 / wbem;

Note You must let D: /JDK1.5.0_01/bin;% is placed in front.

I am using eclipse3.01 jdk1.5.0_01.

Or you write batch files Eclipse.bat content (all in one line, no wrap):

D: /jdk1.5.0_01/bin/javaw.exe -cp d: /eclipse/startup.jar org.eclipse.core.launcher.MAIN -OS WIN32 -WS Win32 -Arch x86 -showsplash d: / eclipse / eclipse. Exe -Showsplash 600 -Exitdata D: /Eclipse/eclipse.exe -exitdata 440_6c -vm d: /jdk1.5.0_01/bin/javaw.exe -vmargs -cp d: /eclipse/startup.jar org.eclipse.core. Launcher.main

转载请注明原文地址:https://www.9cbs.com/read-59526.html

New Post(0)