Hi all,

I'm trying to get the Annotation based configuration to work correctly, but sometimes I run into quite some trouble. I have the following class that should handle the serving of some static content, so they just return a ModelAndView, without doing much:
Code:
package bla. webapp. controller;

@Controller
public class StaticController {

	@RequestMapping("/welcome")
	public ModelAndView welcome(){
		return new ModelAndView("welcome");
	}
}
It seems to work fine as it gives me the following output upon start:
Code:
DEBUG [main] DefaultAnnotationHandlerMapping.registerHandler(323) | Mapped URL path [/welcome] onto handler [bla. webapp. controller. StaticController @ 6803514a]
DEBUG [main] DefaultAnnotationHandlerMapping. registerHandler(323) | Mapped URL path [/welcome.*] onto handler [bla. webapp. controller. StaticController @ 6803514a]
But then, when calling the page, it just gives me a 404 error

Any idea on where to go?