报错:cvc-complex-type.2.4.a: Invalid content was found starting with element
解决方法1:xmlns:xsi="空格http://www.w3.org/2001/XMLSchema-instance" 在xsi=“后边加一个空格! 我也不知道为什么这么做就能解决错误!
解决方法2:
http://www.springmodules.org/schema/cache/springmodules-cache.xsd
http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd
将这段复制到xsi中,每段之间空格隔开!