解决办法:删除.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…