Sunday, 5 July 2015

java.lang.ClassNotFoundException: during Running Tomcat Server

Hi Dears,


we usuulay found the errors like Class not found Exception while we are running the server .

and this exception drive as carazy especially becase we are imported all the classes and sound clear for us.

For Example: 

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


how to solve this problem:




  1. Open the project's properties (e.g., right-click on the project's name in the project explorer and select "Properties").

  1. Select "Deployment Assembly".
  2. Click the "Add..." button on the right margin.
  3. Select "Java Build Path Entries" from the menu of Directive Type and click "Next".
  4. Select "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".

No comments:

Post a Comment