tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Class Loader Problems with Tomcat 8 + Ant Task
Date Fri, 16 Oct 2015 01:08:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Amit,

On 10/15/15 2:45 PM, Amit Lonkar wrote:
> All jar files are sitting in the webapp/WEB-INF/lib. Please see
> attached screen shot.
> 
> The ant jar is apache ant 1.9.6.
> 
> I have small maven project can be used to reproduce this problem,
> if that helps I can share it.

Tomcat can get very angry if you do things like putting its jars into
your application's WEB-INF/lib directory. It may even prevent you from
loading those classes from that location.

What happens if you remove all of the tomcat-*.jar files from
WEB-INF/lib and move ant*.jar into CATALINA_BASE/lib/ and try again?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJWIE4MAAoJEBzwKT+lPKRYTtsQAMt3+1tToXhBaSR9VvdNdhgK
M7MRT0w5/BUx/k6NWOXbr8lcOINUV2nTOX7eB45dl6Ch0bGOrSYgLtM8AJfjrh2L
/9MFsHlR51qhWwi/gxjakHnEyJxtv19xNNgI0mbdO049fZcxS2Zor6qt/rB9eF75
/gVQ0nMWh8zUWXUtRdgnYkhum6YigkeocoVy5rLUHbgzPY4kGLIS6MNwsHRuyopl
wJRsngkK6VEE5jlk1MpwfD3xRlElYXsyJZsW38JNQAZvfKTNGEMPUGsoSLDSxhXO
joFrGqDZsSRONAjXU2uhlAU00PWWnh7GXfjiAFq4HRJ5Y6TgJnDe7/S5f1AVywMJ
4b5bUdqRnylTdeK1kWr7Rv8DfrWC9ipBfvRo5Sfp15XmZECUFJJtNqtwpuDcthaI
9G5zi94VRhiBrH6Ube84d1ezqruvv2NRSEgmTavC/Ej2Csf1wC3yB9nNGtbFp2oh
tgJPNYiDQhH8YH7+OWg9JTrZmS8sH1cuhYT0MRPcUCnF3YiGB++dtXI0dOiL3bki
nu1esyjaQpp9V69ylbZfUUmT8CWZboHFO4Mc8vauXTfzNfafP+oUblhhyzIWRa2p
KZ32eGfRDrN6BJggtq6y7XyfuFWN4PXcHD6EOC/YpOTY7oRhPIJCf0s6tmi/HMuv
Cufh+PoWkxFuRzBLyVlP
=BCiV
-----END PGP SIGNATURE-----

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


Mime
View raw message