Spring boot 的pom.xml文件配置

正在学习spring boot ,配置pom.xml文件记录一下

建立一个spring boot 文件

1.新建maven project 项目

2.编写项目名


3.配置pom.xml文件


配置代码:

  <parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.5.6.RELEASE</version>
</parent>
  <dependencies>
  <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
  </dependencies>
    

pom.xml文件可能写的不全,具体的可以参考

https://blog.csdn.net/fengchao169/article/details/79263953


       

猜你喜欢

转载自blog.csdn.net/it_c_language/article/details/80615444