Hey everybody,
I've got an app that uses Hibernate 3.0.5, Spring 1.2.6 and Myfaces
1.1.1. I'm having massive problems getting this thing to deploy with m2
and I think it has to do with missing or conflicting dependencies. The
error I'm getting now when I try and hit a JSP is:
java.lang.NoClassDefFoundError
org.apache.log4j.Category.forcedLog(Category.java:372)
org.apache.log4j.Category.log(Category.java:864)
org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:387)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
I've tried piece-mealing the deps together and it seems to be the spring
jars that are causing the problem. The really confusing thing is that
in my testing I stripped down my web.xml to just the display-name and
welcome-file-list elements, so nothing should even be trying to load
spring. I'm guessing it's a static log field that is being created when
the jars are first loaded. I've got it to the point where I can say for
sure that a simple jsp with a simple web.xml works without the
spring-*-1.2.6.jar libs. But as soon as I try and add the spring-core
jar I start getting that error above.
Anybody know the right dependencies to include in my war pom since the
spring poms are bare ATM?
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]