<!--<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>-->
添加这个依赖时,从网上复制了这一段

报错:element 'dependency' cannot have character [children], because the type's co

解决:把复制的依赖删掉,手动打一遍,就可以了。(可能是从网上复制的文本内容带有一些其他的格式)

相关文章:

  • 2021-05-28
  • 2021-08-13
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2021-08-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2022-01-20
  • 2021-06-21
  • 2021-09-07
  • 2021-10-14
相关资源
相似解决方案