Tuesday 9 February 2016

How to resolve the issue "java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener" in Eclipse IDE

 1)  Right-click on the project's name in the project explorer and choose "Properties"
2)  Choose "Deployment Assembly" and click on the "Add..." button on the right margin.
3)  Choose "Java Build Path Entries" from the menu of Directive Type and click "Next".
4)  Choose "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".
Now you should be able to see "Maven Dependencies" added to the Web Deployment Assembly definition.

No comments:

Post a Comment