您的位置:首页 > 编程语言 > Java开发

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

2017-09-14 19:30 537 查看

解决方法:

在该配置文件上面的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"[/code] 
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  spring mvc
相关文章推荐