赞
踩
web.xml 出现cvc-complex-type.2.4.a: Invalid content was found starting with element
加上下边这句:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
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"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>
将红色标记加入XML即可。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。