Severity: Error Configuring Application Listener of Class Org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: Org.springframework.web.context.ContextLoaderListener
.......
When Tomcat re-publishes the Web project, it does not package the Maven dependency package with the compilation of the project.
Solutions
- Open the Eclipse Project properties (click on the project name and right click on "Properties").
- Select "Deployment Assembly".
- Click on the "Add ..." item
- Select "Java Build Path Entries" from the menu and then "Next".
- Choose Maven Dependencies from the Java Build Path entries menu, and then finish.
You can now see that Maven Dependencies has been added to the web Deployment assembly definition.
Exception when running spring Web application in Eclipse: java.lang.ClassNotFoundException: Org.springframework.web.context.ContextLoaderListener