Hello
I've this error in TOMCAT server:
11-ago-2011 19:45:34 org.springframework.web.servlet.DispatcherServlet noHandlerFound
ADVERTENCIA: No mapping found for HTTP request with URI [/AppSpringJ2EE/WEB-INF/src/views/index.jsp] in DispatcherServlet with name 'AppSpring'
But I don't know because this error, this is my configuration:
DispatcherServlet Config file:
Too I've config <context:component-scan ... >, <mvc:annotation-driven/> and <context:annotation-config/> for use the anotations @Autowired, @RequestMapping, @Component ... in container aplicationCode:... <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"></property> <property name="prefix" value="/WEB-INF/src/views/"></property> <property name="suffix" value=".jsp"></property> </bean> ...
And the return view form the controllers mapping:
When I request to server, I receive the response -> No mapping found for HTTP request with URI [/AppSpringJ2EE/WEB-INF/src/views/index.jsp] in DispatcherServlet with name 'AppSpring', but the view files JSP are in this directory.Code:... return new ModelAndView("sesion", modelMap); ...
Thank you, See you soon. Excuse my English level.


Reply With Quote
