1. Project use technology: The MAVEN project uses the Spring mvc+spring +mybatis+tomcat to build a project.
2. Error message:
Error Configuring application Listener of Class Org.springframework.web.context.ContextLoaderListener
Java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener
3. Solution Ideas:
(1) From the error message we can see that the project was launched when the Contextloaderlistener was not found.
(2) Then we must first think that we have the spring package has been written into the Pom why did not find it.
(3) This is what we should think of is not a corresponding package in the deployment project. Then go to Tomcat's deployment directory. The discovery really does not have a corresponding package.
(4) Then we right-click on the project and select Properties
(5) then select Deployment Assembly
(6) Click add--> to select Java Build Path entries-->maven dependencied. Click Finish when you have finished selecting. The new deployment project is ready.
Deployment of SSM project in MAVEN solution for Spring Contextloaderlistener