I was afraid I was going to get a reaction to my list like I did, it is
a mess. You get lazy and you just enter in a dependency and let Maven
drag everything in with it. As for the servlet jars, Tomcat just ignores
them and I never took the time to figure out where they were coming
from, that goes for the Struts jars too.

 INFO [main] -
validateJarFile(/Library/apache-tomcat-6.0.16/webapps/scanman/WEB-INF/lib/servlet-api-2.3.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
 INFO [main] -
validateJarFile(/Library/apache-tomcat-6.0.16/webapps/scanman/WEB-INF/lib/servlet-api-2.5.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class


How are you suppose to know what jars you really need when you let Maven
manage them ? I place just 2 dependencies in my pom.xml and 15 jars get
added to my project.

Thanks,

Warren Bell

On 12/12/11 8:25 PM, Konstantin Kolinko wrote:
> 2011/12/10 Warren Bell <warrenbe...@gmail.com>:
>> Hello Tomcat Users,
>>
>> I am having a problem with xerces and other jars in the JDK or Tomcat
>> conflicting with jars in my app. I am getting the following exception
>> when instantiating Smooks, a csv library that usese xerces, in a web app
>> running in Tomcat:
> 
> What exact version of Tomcat x.y.z you are running and on what JDK?
> 
> (IIRC several bugs wrt XML parser handling were fixed during the last
> year. Though it might not be related to your issue).
> 
> Do you run single webapp there, or several complex ones?
> 
> I think the libs should stay in app's WEB-INF/lib folder. Do not put
> them in endorsed for now. (That will affect Tomcat as a whole).
> 
> As others noted, your libraries list is a mess.
> 
> One blatant thing is that you have both Spring 2.0.8 and 2.5.6 jars.
> They are not supposed to coexist.  Also note that there is "SEC03"
> update of 2.5.6.
> 
> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to