ServletException: Could not resolve view with name
javax.servlet.ServletException: Could not resolve view with name 'home' in servlet with name 'springDispatcher' org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1200) org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1005) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:952) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
Solution
If it is a Tiles framework integrated Application, verify the Tiles Definition is defined in tiles-defs.xml file.
If it is not a tiles application, verify the corresponding View is available in the Application or not.