Skip to main content

Posts

Showing posts from October, 2016

[org.springframework.web.servlet.PageNotFound] (default task-44) No mapping found for HTTP request with URI in DispatcherServlet with name

When using the Spring MVC architecture for developing a web application, with spring annotations and after deploying it in your server(JBOSS, Tomcat etc.), the above error might appear when clicking on a link to a web page in your application. Does the error seem to be weird? "I did it correct. How can this happen?" - Do you feel like this? The reason could be as simple as the following. "Missing the  @Controller annotation just above the class of your controller which defines the request URI in question." Check whether this annotation is there in your controller. Cheers. :)