首页 > Web开发 > 详细

通配符的匹配很全面, 但无法找到元素 'mvc:annotation-driven' 的声明

时间:2019-04-16 21:35:23      阅读:576      评论:0      收藏:0      [点我收藏+]

通配符的匹配很全面, 但无法找到元素 ‘mvc:annotation-driven‘ 的声明

错误原因是springmvc中的约束信息不对

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
问题解决

通配符的匹配很全面, 但无法找到元素 'mvc:annotation-driven' 的声明

原文:https://www.cnblogs.com/jasonboren/p/10719885.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!