右击项目,点击Build Path,点击Libraries,可以看到有很多jar包出错。

maven pom.xml头文件报错:maven pom.xml Multiple annotations found at this line:...

maven pom.xml头文件报错:maven pom.xml Multiple annotations found at this line:...

 

解决:

1、右键项目,选择maven,选择update project

maven pom.xml头文件报错:maven pom.xml Multiple annotations found at this line:...

2、除默认选择外,再勾选Force Update of Snapshots/Releases,点击ok,等待maven依赖更新

maven pom.xml头文件报错:maven pom.xml Multiple annotations found at this line:...

 

如果等待依赖的时间太长,可以自行在网上下载对应的jar包,放在本地仓库中。

相关文章:

  • 2021-11-03
  • 2021-05-15
  • 2022-12-23
  • 2021-05-20
  • 2021-05-28
  • 2021-12-24
  • 2021-11-22
  • 2021-12-19
猜你喜欢
  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
相关资源
相似解决方案