I have exactly the same problem. 

Normally, I run all my Struts 1.02 project in eclipse by adding it to the Tomcat's 
classpath.
Since 1.1rc1 release, I try to convert one of our app from 1.02 to 1.1 and I found out 
that I need to include 
the digester jar file in my project in order to compile without an error. But once I 
included that. I have similar 
error.

If I remove my project from Tomcat's classpath(in Sysdeo). I can start my tomcat in 
eclipse without any problem.
However, I can't invoke any application and I imagine I can't debug in eclipse.

My objective is to use struts1.1 and debug within eclipse.

Am I missing something here? 





-----Original Message-----
From: Watson, Jake [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 11 June 2003 4:12 AM
To: Struts Users Mailing List
Subject: RE: Running Struts in Eclipse w/ Sysdeo Plugin: Digester Error
on Startup


Thank you David!

Turns out that the plugin had added the project to Tomcat's classpath, which was the 
cause of the foobar ...

Everything is working fine again. Sometimes the solutions are in plain view ...

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 6:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Running Struts in Eclipse w/ Sysdeo Plugin: Digester Error
on Startup


I'm using the same setup as you with no problems.  Install Tomcat again and 
don't touch any of its directories.  In the Sysdeo Tomcat plugin setup, 
don't put any of your projects on Tomcat's classpath.

David

>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:548)
>       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(LifecycleSupport.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]
>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
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]


NOTICE
This e-mail and any attachments are confidential and may contain copyright material of 
Macquarie Bank or third parties. If you are not the intended recipient of this email 
you should not read, print, re-transmit, store or act in reliance on this e-mail or 
any attachments, and should destroy all copies of them. Macquarie Bank does not 
guarantee the integrity of any emails or any attached files. The views or opinions 
expressed are the author's own and may not reflect the views or opinions of Macquarie 
Bank. 


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

Reply via email to