I am doing some basic spring stuff and stuck at some point. I am getting ClassNotFoundException whenever I deploy my application on Tomcat.
ClassNotFoundException
I observed
You run three command in cmd or bash(where your pom.xml file placed) to get jar file and copy it into your WEB-INF/lib folder
mvn compile mvn package mvn install
I find only this way for resolved my problem:
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener