引入SpringBoot的两种方法
作者:
JacobY | 来源:发表于
2018-08-16 22:44 被阅读0次
1 使用spring-boot-starter-parent
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
2 引入spring-boot-dependencies
<dependencyManagement>
<dependencies>
<dependency>
<!-- Import dependency management from Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.0.4.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
本文标题:引入SpringBoot的两种方法
本文链接:https://www.haomeiwen.com/subject/dcsgbftx.html
网友评论