今天spring4.3.13 项目,整合ActiveMQ的时候,项目启动在自动部署到tomcat下的时候,不能正常的部署,仅仅报错如下: Connected to server [-- ::,] Artifact springDemo:war exploded: Artifact is being deployed, please wait... -Dec- ::)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least…
解决办法:删除.m2文件夹下的全部仓库,然后重启myeclipse,对项目进行maven project.问题解决. 在没有这样做时,除了tomcat启动会失败,项目还有会报如下错误: ①cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration... ②Build path is incomplete. Cannot find class file for org/springframework/cor…