SSM总结

 1    报错: cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'. One of '{"http://java.sun.com/xml/ns/javaee":init-param}' is expected.  
     将<web-app>标签内容换为    

1 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"  
2     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance  
3     http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd"   
4      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
5     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

 2    Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)        MyEcilpse2017里面则是在Preferences 中搜索关键字“Validation”,然后在里面把XML schema的两个勾去掉就OK

3     Spring常用注解     https://blog.csdn.net/sysware_carol/article/details/52793164

猜你喜欢

转载自www.cnblogs.com/duanwandao/p/9190483.html
今日推荐