平时正常的项目这两天启动tomcat总是卡在,
Deployment of web application directory[····\webapps\manager] has finished in [84] ms
。
等了很久后才会报错,内容如下:
Caused by: org.xml.sax.SAXParseException; lineNumber: 11;·····
类似的问题网上并不太多,直到看到一篇技术问答贴,原文网址:https://www.oschina.net/question/931836_2173174
解决方法:
对于Spring的一些xml文件,去掉了xsd版本号
即:
无异常: xml:http://www.springframework.org/schema/beans/spring-beans.xsd
有异常: xml:http://www.springframework.org/schema/beans/spring-beans-4.1.xsd