• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring annotation no handler found

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have build HelloWorld spring annotation based app using netbeans 6.8 which has spring 2.5 spring plugin.

I gives the following error while trying to see the application through browser.
" Jul 2, 2011 12:39:55 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping for [/SpringAnnotCollabera/helloworld.htm] in DispatcherServlet with name 'dispatcher'
"

My code is



Please do help me out as i have to use spring annotation in my project. its urgent
 
Ranch Hand
Posts: 218
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think your request mapping needs to be done with /helloworld.htm
 
juniad Ahmed
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tried using

@RequestMapping("/helloworld")

but still no help
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

juniad Ahmed wrote:tried using

@RequestMapping("/helloworld")

but still no help



Re read his post. He said with ".htm"

You forgot to add that part

@RequestMapping("/helloworld.htm")

Mark
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic