Java Mailing List Archive

http://www.junlu.com/

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

WEB-INF/lib ignored in Tomcat 6

ronatartifact

2007-03-04

Replies:

It seems that Tomcat 6 is not finding the jars in the application
library WEB-INF/lib.

If I put the spring.jar in the tomcat lib directory it is found.
If I put it in the application lib directory it is not found.

If I fix the spring.jar issue, I just get an Class not found error on
the next library.

Mar 4, 2007 4:35:13 PM org.apache.catalina.loader.WebappLoader start
SEVERE: LifecycleException
java.lang.ClassNotFoundException:
org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at
org.apache.catalina.loader.WebappLoader.createClassLoader (WebappLoader.java:770)


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

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