Well If Iam right , u need to have a SAX parser in your classpath to make
this run
I am using sun's java xml pack (summer), you can have any other parser too.

Now add this as external jars in you eclipse classpath
This should solve your problem


-Hari

-----Original Message-----
From: Watson, Jake [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 5:48 AM
To: 'Struts Users Mailing List' (E-mail)
Subject: Running Struts in Eclipse w/ Sysdeo Plugin: Digester Error on
Startup


Apologies if this has been answered, but I've already searched the archives
and have found no answer. I have also posted to the Tomcat list ...

I get the following error when starting up my Web app in Eclipse (2.1) using
the latest version of the Sysdeo plugin:

841 [main] ERROR digester.Digester  - Digester.getParser: 
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
        at
org.apache.commons.digester.Digester.getFactory(Digester.java:518)
        at org.apache.commons.digester.Digester.getParser(Digester.java:692)
        at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:908)
        at org.apache.commons.digester.Digester.parse(Digester.java:1543)
        at
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:5
48)
        at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:638)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)

To make it this far, I had to put the j2ee.jar in Tomcat's common/lib dir,
and I have been sure to *not* include the servlet.jar in both places--it's
only in Tomcat's common/lib dir. Also, I have put the xerces.jar in this
dir, but to no avail ...

Has anyone else encountered such errors?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to