This tag registers the DefaultAnnotationHandlerMapping and AnnotationMethodHandlerAdapter beans that are required for Spring MVC to dispatch requests to @Controllers.
也就是说配置了<mvc:annotation-driven />就不需要配置
DefaultAnnotationHandlerMapping
和
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
2.
Support for formatting Date, Calendar, Long, and Joda Time fields using the @DateTimeFormat annotation, if Joda Time 1.3 or higher is present on the classpath.
@DateTimeFormat 需要 Joda Time 1.3 or higher jar包
3.
Support for reading and writing JSON, if Jackson is present on the classpath.
json的问题需要jackson的jar包