问题出现在:

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


图片:Myeclipse导入Maven项目是遇到Version of Spring Facet could not be detected.

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

 解决方式:

1:cancel掉,进入项目之后会发现很多小红叉,不用管。

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

3:找到Java Compiler,改成如下所示

Myeclipse导入Maven项目是遇到Version of Spring Facet could not be detected.


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

Myeclipse导入Maven项目是遇到Version of Spring Facet could not be detected.

问题解决


相关文章:

  • 2021-07-12
  • 2021-09-02
  • 2021-08-20
  • 2021-07-21
  • 2021-04-09
  • 2022-01-07
  • 2022-12-23
猜你喜欢
  • 2022-01-31
  • 2021-12-20
  • 2022-12-23
  • 2021-06-07
  • 2021-09-14
  • 2021-09-20
  • 2021-07-12
相关资源
相似解决方案