Looks like Struts has a dependency on Commons Logging which is using
Log4j under the hood. The commons logging jar is being loaded from a
higher level classloader (common/lib or server/lib) and can't access
classes only provided by a lower classloader (your webapp).
Maybe try having the
Hi Shapira,
that is what I get when log4.jar is in my .../WEB-INF/lib.
struts.jar is also in my .../WEB-INF/lib. Can that cause the problem?
How can I fix that?
Zsolt
javax.servlet.ServletException: Error instantiating servlet class
org.apache.struts.action.ActionServlet
at
Howdy,
I have tried so many things to use log4j from tomcat and struts and
finaly I found the solution that I have to copy log4.jar into
common/lib
server/lib and application/WEB-INF/lib (to be able to get jsp files
compiled). I find it a bit complicated that I have to copy the same jar
file
Jon,
I have found commons-logging.jar in two directories:
application/WEB-INF/lib/commons-logging.jar
server/lib/commons-logging.jar
struts.jar is also in application/WEB-INF/lib
Any ideas?
Zsolt
On Thu, 2003-08-07 at 12:49, Jon Wingfield wrote:
Looks like Struts has a dependency on Commons
Howdy,
Looks like Struts has a dependency on Commons Logging which is using
Log4j under the hood. The commons logging jar is being loaded from a
higher level classloader (common/lib or server/lib) and can't access
classes only provided by a lower classloader (your webapp).
Maybe try having the