解决springboot jar包冲突

直接导入springboot父项依赖,其它相关springboot依赖version不用写,由spring自动依赖.

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.13.RELEASE</version>
</parent>

<dependencies>

    <dependency>

    <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-web</artifactId>
  </dependency>
</dependencies>
 
posted @ 2019-04-27 21:13  long阿斯巴甜  阅读(1705)  评论(0编辑  收藏  举报