• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Getting Error(HTTP Status 404 -) in Spring Mvc

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic