Showing posts with label ContextLoaderListener. Show all posts
Showing posts with label ContextLoaderListener. Show all posts

Monday, 18 April 2016

ClassNotFoundException: .. ContextLoaderListener

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

  1. Open the project's properties (e.g., right-click on the project's name in the project explorer and select "Properties").
  2. Select "Deployment Assembly".
  3. Click the "Add..." button on the right margin.
  4. Select "Java Build Path Entries" from the menu of Directive Type and click "Next".
  5. Select "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".

Thursday, 7 April 2016

Spring

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

1) configure the required spring dependency to pom.xml

or

2) configure the spring  maven dependency library to java build path.

ex :  go to properties->deployment assembly->add ->java build path