• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Getting Error(HTTP Status 404 -) in Spring Mvc  RSS feed

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I am new to SpringMvc. I did a HelloWorld Program using annotations .When I run the (http://localhost:8080/SpringMvcDemo/hello) project,I gotHTTP Status 404- Error. Please help me..

web.xml:-





dispatcher-servlet.xml:-



HelloController.java:-



Advance Thanks
Surendra
directory.JPG
[Thumbnail for directory.JPG]
 
Ranch Hand
Posts: 672
4
Eclipse IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

You have to give the package name here, not the fully qualified class name, change the base-packege to model (package name)
 
meruva surendra
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Prasad Krishnegowda wrote:
You have to give the package name here, not the fully qualified class name, change the base-packege to model (package name)




Thanks Prasad, Its working now...
 
Everybody's invited. Even this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!