Myeclipse Tomcat 部署项目是遇到Version of Spring Facet could not be detected.

1.首先是导入项目时出现Version of Spring Facet could not be detected. 说明版本不一致,需要修改下配置

Myeclipse Tomcat 部署项目是遇到Version of Spring Facet could not be detected.

即Spring的版本不能被检测到。此时需要做的就是找到spring所需的版本,然后在项目中配置一下。

 解决方式:

1:右击项目,点击最下方的properties

2:找到Java Compiler,改成如下所示(解决java版本低的问题)

Myeclipse Tomcat 部署项目是遇到Version of Spring Facet could not be detected.

3.这时发现小红叉消失。但目前仅解决的是java版本过低,导致的@override不认识,如果要解决开篇提到的问题,此时要做的如下所示(解决spring版本低的问题)

Myeclipse Tomcat 部署项目是遇到Version of Spring Facet could not be detected.

重新导入项目,问题解决