Reputation: 1724
I am getting error below when I deploy my project in tomcat:
java.lang.ClassNotFoundException: org.apache.log4j.rolling.RollingFileAppender
It was due to missing of apache-log4j-extras-1.0.jar
library. So I add the required jar files into my build path like the screenshot below:
I refresh and clean the project, and try to deploy again, but still didn't see the log4j and guava in my WEB-INF/lib
folder under tomcat webapps. If I copy and paste the jars into WEB-INF/lib
folder it will works, no error. But I don't want to copy paste each time I re-deploy the project. Please help.
Upvotes: 2
Views: 477