码迷,mamicode.com
首页 > 编程语言 > 详细

spring “The matching wildcard is strict, but no declaration can be found for element”报错原因

时间:2016-03-03 14:52:43      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:

xsi:schemaLocation=http://www.springframework.org/schema/aop/spring-aop.xsd
                   http://www.springframework.org/schema/aop

Spring 配置文件中的顺序颠倒会报如下的错误

The matching wildcard is strict, but no declaration can be found for element ‘aop:config‘.

只要调整顺序就可以了:

xsi:schemaLocation=
 http://www.springframework.org/schema/aop
 http://www.springframework.org/schema/aop/spring-aop.xsd

spring “The matching wildcard is strict, but no declaration can be found for element”报错原因

标签:

原文地址:http://www.cnblogs.com/lycsky/p/5238373.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!