用Maven新建项目的时候控制台出现如下提示:

 [FATAL_ERROR] Cannot start Maven: No valid Maven installation found. Either set the home directory in the <a href="#">configuration dialog</a> or set the M2_HOME environment variable on your system.

极大可能是Maven的setting.xml文件路径或者是repotistory路径无效

点击File,在Setting中找到Maven相关配置,设置为有效路径即可:

[FATAL_ERROR] Cannot start Maven: No valid Maven installation found 

相关文章:

  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2022-02-11
  • 2021-04-22
  • 2021-04-16
  • 2021-06-01
  • 2022-01-03
相关资源
相似解决方案