①:在  settings  配置文件中一定不能有中文,包括注释  <!--   -->  内部也不能有。

②:路径一定要写对:比如说  <localRepository>D:/Maven/repo/</localRepository>  中的路径使用 “/”  而非  windows 路径中的  “\”。

③:不管用什么编辑器,在保存的时候一定要保存为   “UTF-8”,推荐使用   notePad++  :

解决Maven提示:Could not read settings.xml, assuming default values

相关文章:

  • 2021-04-10
  • 2021-11-14
  • 2021-11-06
  • 2021-09-28
  • 2022-02-17
  • 2022-01-18
  • 2021-09-12
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2021-04-14
  • 2021-05-13
相关资源
相似解决方案