Now I use Eclispe 3.0 to develop web service but when I install WSDK
for Web Service v. 5.1 it cann't work and have error this........
!SESSION ส.ค. 28, 2004 00:51:51.519
--------------------------------------------
eclipse.buildId=I200406251208
java.fullversion=J2RE 1.3.1 IBM Windows 32 build cn131-20030618 (JIT
enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=th_TH
!ENTRY org.eclipse.osgi ส.ค. 28, 2004 00:51:51.519
!MESSAGE Error registering XML parser services.
!STACK 0
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:142)
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)
............
!ENTRY org.eclipse.osgi ส.ค. 28, 2004 00:51:51.769
!MESSAGE Bundle update@/c:/eclipse/plugins/com.ibm.debug.common_5.1.0/
[92] was not resolved.
!SUBENTRY 1 org.eclipse.osgi ส.ค. 28, 2004 00:51:51.769
!MESSAGE Missing required bundle org.eclipse.jface_[2.1.0,2.2.0).
!SUBENTRY 1 org.eclipse.osgi ส.ค. 28, 2004 00:51:51.769
!MESSAGE Missing required bundle
org.eclipse.core.resources_[2.1.0,2.2.0).
!SUBENTRY 1 org.eclipse.osgi ส.ค. 28, 2004 00:51:51.769
!MESSAGE Missing required bundle org.eclipse.debug.core_[2.1.0,2.2.0).
!SUBENTRY 1 org.eclipse.osgi ส.ค. 28, 2004 00:51:51.769
!MESSAGE Missing required bundle org.eclipse.debug.ui_[2.1.0,2.2.0).
!SUBENTRY 1 org.eclipse.osgi ส.ค. 28, 2004 00:51:51.769
!MESSAGE Missing required bundle
org.eclipse.ui.workbench_[2.1.0,2.2.0).
----------------------------------------------------------------------------
what 's cause of error and how I solv that?
And I 'm less to use Eclispe 3.0 and WSDK 5.1 to develop web service.
Please introduce me to config them. In my project I want to crate web
service and call it by jsp:web application.
Please help me.All your suggesstions very important about my project.
Thanks very much.
Nicky.
JD Uhler - 31 Aug 2004 15:53 GMT
Nicky:
I get the same error in the Eclipse 3.0 log after I installed Oracle
9i client. Have you found a solution to your problem yet? Maybe we
can work together to find a solution.
JD
> Now I use Eclispe 3.0 to develop web service but when I install WSDK
> for Web Service v. 5.1 it cann't work and have error this........
[quoted text clipped - 65 lines]
>
> Nicky.
JD Uhler - 31 Aug 2004 16:22 GMT
I have figured out the problem. You'll need to modify the path
environmental variable back to what it used to be before you installed
the Web Service software. When I installed the Oracle client, it
wiped out my pointer in the PATH to c:\j2sdk1.4.2_05\bin (which
includes the Java XML Parser). I added that back to the path
(important - at the beginning of the PATH string). It worked.
Try that.
JD
> Now I use Eclispe 3.0 to develop web service but when I install WSDK
> for Web Service v. 5.1 it cann't work and have error this........
[quoted text clipped - 65 lines]
>
> Nicky.
nicky - 01 Sep 2004 10:55 GMT
JD
Thank you very much for your suggestion.Now i configed follow this but
it doesn't work.What another ways to solv that??????
Thanks.
Nicky.
> I have figured out the problem. You'll need to modify the path
> environmental variable back to what it used to be before you installed
[quoted text clipped - 6 lines]
>
> JD
Stunky - 02 Nov 2004 09:46 GMT
Hi Nicky,
I have been experiencing the same problems. I have setup my environmental
variables but I still cannot get Eclipse to startup. I searched the web and
found a fix but it's not ideal. I'll keep searching but for now this should
work :)
From the command prompt you can run the following statement:
eclipse.exe -vm "C:\j2sdk1.4.2_05\bin\javaw.exe"
I have placed it inside a script which I call as a shortcut. If you would
like me to mail it to you, mail me at readrv@telkom.co.za
Let me know how it goes :)
Regards,
Ryan
Ryan Read - 25 Feb 2005 12:25 GMT
I found the solution!
No need for shortcuts, it all has to do with the environment variables.
The java bin directory location needs to be the first entry in the path.
That will solve the problem.
Chances are that another program, like Oracle, has its java bin directory
location in the path before the java location. Therefore Eclipse will first
check that directory and throw and error.