程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> JAVA綜合教程 >> spring “The matching wildcard is strict, but no declaration can be found for element”報錯原因,matchingwildcard

spring “The matching wildcard is strict, but no declaration can be found for element”報錯原因,matchingwildcard

編輯:JAVA綜合教程

spring “The matching wildcard is strict, but no declaration can be found for element”報錯原因,matchingwildcard


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

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved