Saturday, June 29, 2013

[RESOLVED] java.lang.ClassNotFoundException org.springframework.web.servlet.DispatcherServlet Spring MVC3 Maven Eclipse

The following error occurs when deploying app to the testing machine, using Eclipse + Spring MVC 3 + Maven.

java.lang.ClassNotFoundException org.springframework.web.servlet.DispatcherServlet


Solution:
1. Right Click the project -> Properties

2. Go to Deployment Assembly

3. Click Add


4. Select Java Build Path Entries

5. Click "Maven Dependencies"
 

6. Click OK

7. Done and deploy again without error.

2 comments:

  1. Hi,deployment assembly is solved class not found exception. But it will produce the Unzip log Exception.

    ReplyDelete