aspose file tools*
The moose likes Spring and the fly likes Spring annotation no handler found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring annotation no handler found" Watch "Spring annotation no handler found" New topic
Author

Spring annotation no handler found

juniad Ahmed
Greenhorn

Joined: Feb 19, 2011
Posts: 24
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
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

I think your request mapping needs to be done with /helloworld.htm
juniad Ahmed
Greenhorn

Joined: Feb 19, 2011
Posts: 24
tried using

@RequestMapping("/helloworld")

but still no help
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring annotation no handler found