SpringMVC: can be found for element 'mvc:annotation-driven'

来源:互联网 发布:银行管理系统java 编辑:程序博客网 时间:2024/06/05 19:26

解决方法:

在该配置文件上面的beans中添加

xmlns:mvc="http://www.springframework.org/schema/mvc" xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"
阅读全文
0 0