Context Initialization failed – Java – Spring MVC Solved!

Check which version spring MVC libraries are you using. If you re using Spring MVC 3 then prefer install Java 7 with tomcat version 7.0.92.

Advertisements

Understanding Spring MVC project setup

Flow Diagram of Spring MVC  Img Source: TutorialsPoint  Purpose of web.xml Until Spring 3.1 the only way to configure the DispatcherServlet was with the WEB-INF/web.xml file. servlet name is dispatcher an instance of DispatcherServlet Class Will be initialized with a parameter named contextConfigLocation which contains the path to the configuration XML load-on-startup is an integer … Continue reading Understanding Spring MVC project setup