cvc-complex-type.2.4.c: The matching wildcard is strict

冷月宮主發表於2016-09-29

http://bbs.csdn.net/topics/330218194


錯誤資訊:

Description Resource Path Location Type
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation-driven'. ApplicationContext-mvc.xml /fmmp/resources line 9 XML Problem


解決辦法:

xmlns:tx="http://www.springframework.org/schema/tx"
在xmlns:aop下面加上

把下面的http://www.springframework.org/schema/tx/spring-tx.xsd"刪除


相關文章