Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to solve "No mapping found for HTTP request with URI" in SpringMVC

 
Ajharul Abedeen
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
welcomeWebPage.html


controlller.jsp


controlller1.jsp



web.xml



dispatcher-servlet.xml


controlllerResult.jsp


controlllerResult1.jsp


HelloController.java



HelloController1.java


Server Log



I have given a program's whole code. This a simple Spring MVC program. I have also given the server log. The programs one link is working but another is not working. Showing 404 error.
Then in the server log i have found the message that i have given. But i am not understanding why it is showing that no mapping  found for [/SpringMVC_1/h.ds].
Would you please tell where i have made the wrong.
FolderStructure.PNG
[Thumbnail for FolderStructure.PNG]
 
Ankit Garg
Sheriff
Posts: 9580
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the exact URL that you are entering in your browser? If you are entring http://localhost:8080/SpringMVC_1/h.ds then can you also try http://localhost:8080/h.ds and see if it works. I'm not sure what's the context path on which you have your application deployed. If you open http://localhost:8080/SpringMVC_1/ does it show the welcome html page?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic