spring mvc 配置<mvc:annotation-driven/>失效了?
版本:spring 3.0以上 项目中有两个spring的配置xml,如下 ${project.dir}\src\main\resources\META-INF\spring\applicationContext-service-database.xml ${project.dir}\src\main\webapp\WEB-INF\database-servlet.xml 项目中的web.xml ${project.dir}\src\main\webapp\WEB-INF\web.xml web.xml的配置如下: <context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath*:META-INF/spring/applicationContext-service-database.xml </param-value> </context-param> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>database</servlet-name>