Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Using Digester in a Tomcat project causes server not to start
 ?

Kruse, Matt

2003-09-22

Replies:

> What tomcat version?

I've tried 4.1.27 and 5.0.9 with the same results.

>Where's the digester jar that ships with tomcat?

c:\tomcat\server\lib\commons-digester.jar

> You can't have more than one digest jar in the classloader hierarchy.
> So keep yours in WEB-INF/lib and make sure tomcat's is in
> $CATALINA_HOME/server/lib (not commons/lib or shared/lib).

I do have a copy of the jar file in my project's WEB-INF\lib directory. That
is what is causing the problem.

If I take the jar file out of that directory, the server starts up fine, but
my project won't run because it can't find the Digester class. If I directly
reference the commons-digester.jar in the path above, my project will
compile just fine, but Tomcat once again files to startup.

Thanks,

Matt
©2008 junlu.com - Jax Systems, LLC, U.S.A.