码迷,mamicode.com
首页 > 编程语言 > 详细

Springboot+Maven

时间:2020-04-02 22:32:03      阅读:100      评论:0      收藏:0      [点我收藏+]

标签:maven   ring   引用   标签   frame   work   cti   mave   parent   

Spingboot框架在maven项目中的引用。直接在pom.xml文件中添加上一下内容。

注意事项:pom.xml文件中只能有一组<parent>标签

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
</parent>
<!--添加依赖-->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>

 

Springboot+Maven

标签:maven   ring   引用   标签   frame   work   cti   mave   parent   

原文地址:https://www.cnblogs.com/linxinmeng/p/12623113.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!