导入pom依赖后报错,project和部分标签的下划线报红:Element ‘plugin’ cannot have character [children], because the type’s content type is element-only和expected START_TAG or END_TAG not TEXT( position: …)

1、Element ‘plugin’ cannot have character [children], because the type’s content type is element-only:
导入pom依赖后报错,project和部分标签的下划线报红
原因:复制的时候,带了一些特殊符号。
解决方案:将那一串代码复制到notpad++ 或者文本上面,再复制到你的编译器里面,就会解决

2、expected START_TAG or END_TAG not TEXT( position: …)
导入pom依赖后报错,project和部分标签的下划线报红

原因:修改pom文件的时候部分内容格式不正确
解决方案:整理格式,删除多余空格

相关文章:

  • 2022-12-23
  • 2021-04-10
  • 2021-12-22
  • 2021-12-14
  • 2021-12-11
  • 2021-12-10
  • 2019-10-09
  • 2021-07-24
猜你喜欢
  • 2021-06-23
  • 2022-12-23
  • 2021-11-24
  • 2021-12-17
  • 2022-12-23
  • 2022-01-19
  • 2021-10-26
相关资源
相似解决方案