tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Conflicts between 2 lib in Tomcat 4.0.3
Date Mon, 03 Feb 2003 15:19:55 GMT

Put it in CATALINA_HOME/common/endorsed or common/lib.  You aren't supposed 
to put endorsed packages such as javax.* and org.w3c.* in WEB-INF/lib.  It 
causes all sorts of problems and violates the Sun classloading spec which 
Tomcat, as of 4.0.2, enforces.


At 10:11 AM 2/3/2003 +0100, you wrote:
>I'm working with TC 4.0.3. In the WEB-INF/lib directory, I've got 2 
>libraries : xerces.jar (I think it's an old Xerces, I didn't put myself 
>there : someone else need it) and xercesImpl.jar (a newer version of xerces).
>I coded a class that need xerces2, but when I launch it (via a servlet) in 
>my Tomcat, it throws a NoSuchMethoError cause it doesn't take the good jar !
>How can I "force" TC to take the new librairy ?
>Thanx in advance
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message