Maven项目添加依赖时报错:Duplicated tag: ‘dependencies’

在给新建的web项目添加Spring MVCjar包的时候pom.xml总是报错:Duplicated tag: ‘dependencies’ (position: START_TAG seen …<!-- SpringMVC\u。。。,检查后发现是标签重复了,pom.xml文件中已经有了标签。

解决方案

把要添加的依赖写进已有的标签中就可以了:
Maven项目添加依赖时报错:Duplicated tag: ‘dependencies‘

相关文章:

  • 2021-10-17
  • 2022-01-20
  • 2021-05-09
  • 2021-09-15
  • 2021-07-23
  • 2021-09-20
  • 2022-12-23
  • 2021-12-17
猜你喜欢
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-10-07
  • 2021-07-10
  • 2022-12-23
相关资源
相似解决方案