报以下错误:
cvc-complex-type.2.4.a: Invalid content was found starting
with element 'init-param'. One of '{"http://xmlns.jcp.org/xml/
ns/javaee":enabled, "http://xmlns.jcp.org/xml/ns/
javaee":async-supported, "http://xmlns.jcp.org/xml/ns/
javaee":run-as, "http://xmlns.jcp.org/xml/ns/javaee":security-
role-ref, "http://xmlns.jcp.org/xml/ns/javaee":multipart-
config}' is expected.
在web.xml的
<web-app >标签的xmlns:xsi中改为以下值就可以了
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd"