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

时间:2017-11-25 00:48:09   收藏:0   阅读:2605

 

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

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

解决:把复制的依赖删掉,手动打一遍,就可以了。
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!