Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / February 2005

Tip: Looking for answers? Try searching our database.

Eclipse problem (An Error has Occurred. See the log file)

Thread view: 
oceanicshot@yahoo.com - 17 Feb 2005 09:32 GMT
hello there.

i just downloaded the lastest version of eclipse and tried to run it
but was impossible.
i just got an dialog box saying: 'An error has occurred. See the log
file. xxxxx.log'
i'm running tomcat 4.1 on the local. is that the problem?
i really have no idea. could somebody help me?

** following is the log file's content

!SESSION 2 17, 2005 18:21:52.210
----------------------------------------------
eclipse.buildId=M200409161125
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ko_KR

!ENTRY org.eclipse.osgi 2 17, 2005 18:21:52.210
!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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

!ENTRY org.eclipse.osgi 2 17, 2005 18:21:52.300
!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(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    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
org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:557)
    at
org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)
    at
org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:660)
    at
org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:233)
    at
org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:191)
    at
org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)
    at
org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:280)
    at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)
    at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:451)
    at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:746)
    at
org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:715)
    at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:659)
    at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:800)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:429)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:222)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

!ENTRY org.eclipse.osgi 2 17, 2005 18:21:52.320
!MESSAGE Bundle
initial@reference:file:c:/Eclipse/eclipse/plugins/org.eclipse.core.runtime_3.0.1/
[1] was not resolved.
Roland - 17 Feb 2005 12:25 GMT
> hello there.
>
[quoted text clipped - 11 lines]
> eclipse.buildId=M200409161125
> java.version=1.3.1_01
               ********
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ko_KR
[quoted text clipped - 4 lines]
> java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
>     at java.net.URLClassLoader$1.run(Unknown Source)
[snips]

Eclipse 3.0.1 requires Java 1.4.1 or later. You appear to be running it
with 1.3.1.
Signature

Regards,

Roland de Ruiter
  ___      ___
 /__/ w_/ /__/
/  \ /_/ /  \

oceanicshot@yahoo.com - 18 Feb 2005 00:58 GMT
dear roland.

but i am using java 1.4.2_07
i think there's another problem.
oceanicshot@yahoo.com - 18 Feb 2005 01:07 GMT
following is the specification of my system.

JVM Version and Vendor  1.4.2_07 Sun Microsystems Inc.
Application server  Apache Tomcat/4.1.31
Database Name and Version  Oracle Oracle9i Enterprise Edition Release
9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data
Mining options JServer Release 9.2.0.1.0 - Production
JDBC Driver and Version  Oracle JDBC driver 9.2.0.1.0
Joe Fischer - 18 Feb 2005 02:13 GMT
>following is the specification of my system.
>
[quoted text clipped - 4 lines]
>Mining options JServer Release 9.2.0.1.0 - Production
>JDBC Driver and Version  Oracle JDBC driver 9.2.0.1.0

    Your log show Java 1.3.1 which is probably because Oracle's
JDK is set at the front of your path.  Try launching eclipse by
changing the properties on the shortcut (if you launch it that way)
with "C:\eclipse\eclipse.exe -vm C:\j2sdk1.4.2_07\jre\bin\javaw" -
this is an example from my system.
    It might be good to peruse readme_eclipse.html in the readme
folder under eclipse.
-------
Remove underscores from e-mail address.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.