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

解决:把复制的依赖删掉,手动打一遍,就可以了。
文章来自:http://www.cnblogs.com/Girlir/p/7892808.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3