IntelliJ IDEA学习笔记连载一IntelliJ IDEA中创建Maven工程&SpringBoot项目

一、新建一个工程
二、构建项目属性

三、暂不用修改

四、构建完成,项目结构如下:

五、进入pring官网中的介绍springboot的页面https://spring.io/projects/spring-boot#learn,查看springboot的参考文档,加入springboot的web基本依赖,页面地址https://docs.spring.io/spring-boot/docs/2.1.17.RELEASE/reference/html/

六、文档中有一个典型的pom.xml文件,可以直接拿来用(10.1.1 Maven Installation)

七、新建一个引导类

八、启动SpringBoot工程

原文地址:https://www.cnblogs.com/elnimo/p/13765017.html