maven解决omitted for duplicate(依赖冲突)

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>//产生omitted for duplicate的依赖的ja对应的g
<artifactId>spring-boot</artifactId>//产生omitted for duplicate的依赖jar对应的a
</exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</exclusion>
</exclusions>
</dependency>
posted @ 2019-01-23 11:11  brx_blog  阅读(84082)  评论(0)    收藏  举报