Newbie
Newbie

Reputation: 1724

jar file in Build Path not deploy into WEB-INF/lib folder

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: enter image description here

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

Answers (0)

Related Questions