Skip to main content

ClassNotFoundException Dispatcher Servlet in SpringMVC

Some times we may get ClassNotFoundException- Dispatcher Servlet in Spring MVC , even though we keep the spring.jar and spring-webmvc.jar using configuring the build path. The root cause of this error is your IDE expects the jars to be located physically in the lib folder. So Copy all the required jars in the lib folder, that should solve the problem.

Comments

Popular posts from this blog

Java Productivity tools

Here are the list of Java Productivity tools that help in simplifying the daily life of a developer. Eclipse as an IDE simplifies the development life cycle which has a lots of plugins to support different programming languages and frameworks. Some of useful Eclipse plugins are - Sonarlint that helps to do static code analysis and give suggestions as we go along the development life cycle. JDGUI - Is the Eclipse Plugin that supports the decompilation of the Java application within eclipse, this is very handy when debugging and need to look at the out of the box code from a framework/library. JUnit is the unit testing framework that supports Unit Testing of Java Applications. Mockito is the framework that supports the Mock Unit Testing of the Java Application.