如果你确定你的项目没有问题,但是项目中的pom.xml却一直有红叉,那么请进行如下操作:

首先右击项目,找到maven选择update选项,出现这个页面

eclipse创建的maven项目pom.xml出现错误

将下放的force update of snapshots/releases选中后点击OK即可

相关文章:

  • 2021-06-02
  • 2021-07-26
  • 2021-08-23
  • 2022-02-25
  • 2021-11-04
  • 2022-03-08
  • 2021-10-23
  • 2021-10-04
猜你喜欢
  • 2021-03-31
  • 2021-07-07
  • 2021-04-06
  • 2021-04-21
  • 2021-10-31
  • 2021-06-03
相关资源
相似解决方案