This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to display static contents in the Webpage: But getting the error as below: Can any one of you please help me out?
I got this error especially after adding the <annotation driven > in application-context.xml
This has nothing to do with displaying static content in a page. It has everything to do with the fact that <mvc:annotation-driven> turns on, among other things, JSR-303 validation support in Spring MVC. To support that, you need a JSR-303 implementation such as Hibernate's validation in the classpath. If you read the error, that's what it's saying.
When you remove <mvc:annotation-driven> you turn off Spring MVC's ability to map requests to controllers using annotations. Thus, the request you submit is not tied to any controller and you get a 404.