Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting 404 error even though resource is available  RSS feed

 
somashaker goud
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am new to spring. I am doing a POC. I dont see any errors in console but I am getting 404 error while trying to run my project. Below is my code.Please assist me in getting this done

mvc-dispatcher-servlet.xml


HelloController.java


pom.xml


web.xml



hello.jsp



spring-security.xml



admin.jsp

 
Tim Cooke
Sheriff
Posts: 3743
208
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What URL is giving you the 404 response?
 
somashaker goud
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Tim below is the url

http://localhost:8082/MyTutorial/
 
Naveen N Kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Somashekar: have  you tried to create a war and deploy separately  instead of from IDE (Assuming you are trying to deploy from IDE)?  I am facing something similar although my code works perfectly when I create a war and deploy from tomcat console, however I get 404 when I do the same in eclipse.

I am still trying to figure out a solution.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!