问题:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration。
匹配的匹配符是严格的,但是没声明。
原因:推测是导入的.xml与IDE的版本不同。
解决办法:我的:更换对应的.xml文件的xsi:schemaLocation。
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.1.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.1.xsd
http://mybatis.org/schema/mybatis-spring
http://mybatis.org/schema/mybatis-spring.xsd "
网友:重新导入命名空间。(其实两个方法本质是一样的)