springboot的pom.xml添加依赖时报错

Posted cgh

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了springboot的pom.xml添加依赖时报错相关的知识,希望对你有一定的参考价值。

 

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

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

解决:把复制的依赖删掉,手动打一遍,就可以了。








以上是关于springboot的pom.xml添加依赖时报错的主要内容,如果未能解决你的问题,请参考以下文章