记录一个bug
今天在idea maven代码的时候 一直报这个错

解决办法
Cannot resolve plugin org.apache.maven.plugins:maven-resources-plugin:2.6
右击工程 打开settings.xml 看看里面有木有错误。
有的话 解决一下就好。

我的settings.xml 在网上拷贝的aliyun的镜像
导致多了许多空格。

然后报错
Element ‘dependencies’ cannot have character[children],because the type’s content type is elemen

结局办法。把<标签>前后多余的空格删掉。然后重新maven
问题解决

相关文章:

  • 2021-09-18
  • 2022-01-14
  • 2021-05-25
  • 2021-10-17
  • 2021-04-10
  • 2021-08-23
  • 2021-04-23
猜你喜欢
  • 2021-07-07
  • 2021-07-18
  • 2021-09-27
  • 2021-09-14
  • 2021-07-24
  • 2021-12-04
  • 2022-12-23
相关资源
相似解决方案