2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

org.springframework.web.servlet.DispatcherServlet noHandlerFound WARNING: No mapping found for HTTP request with URI

I am started learning the Spring -MVC framework. I configured  correctly but i am getting the following exception.

org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with  URI [/Spring_Practise-2/] in DispatcherServlet with name "dispatcher".

Please help me out any one.


userimage

This could a reason like you have skipped to add @Controller on the class.


Other reasons could be you have not configured the @RequestMapping(value = "/yoururl", method = RequestMethod.GET)

Answer is