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 com
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
org.apache.catal
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 /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 into three
Jon,
I have found commons-logging.jar in two directories:
/WEB-INF/lib/commons-logging.jar
server/lib/commons-logging.jar
struts.jar is also in /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 Logging which is usin
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 ha