解决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>
 

猜你喜欢

转载自www.cnblogs.com/long757747969/p/10780389.html