You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jagadeesh Sunkara <ja...@ssaglobal.com> on 2005/01/19 02:05:17 UTC
Tomcat classloader problem with different ant versions
Hello,
I am getting the following error when I deploy and run my application under
tomcat 5.0.28. The problem is that tomcat is using the ant.jar from
<tomcat>/common/lib directory. But I want to use the one from my web
application's WEB-INF/lib. How can I make tomcat use the ant 1.6.2 from my
application's web-inf/lib instead of ant 1.6.1 from tomcat/common/lib?
Replacing the ant.jar in <tomcat>/common/lib is not an option here as the
tomcat installation/environment is not controlled by us.
Appreciate if someone can tell me how to make tomcat use my own version of
jar.
Thanks,
Jagadeesh
Invalid implementation version between Ant core and Ant optional tasks.
core : 1.6.1
optional: 1.6.2
Invalid implementation version between Ant core and Ant optional tasks.
core : 1.6.1
optional: 1.6.2
at
org.apache.tools.ant.Diagnostics.validateVersion(Diagnostics.java:76)
at com.crm.utils.AntRunner.startAnt(Unknown Source)
at com.crm.utils.AntRunner.startAnt(Unknown Source)
at
com.ssa.crm.actions.CodeGenAction.handleRequest(CodeGenAction.java:189)