Spring Boot环境搭建。

1.环境准备。

jdk1.8

idea(如果不会激活可以看另外一篇:https://www.cnblogs.com/joeking/p/11119123.html

2.打开idea

如果是idea的首页面,就可以点击create new project

如果进入项目页面,选择 File -> New —> Project… 弹出新建项目的框

3.在new project弹框中选择Spring initializr.   

project sdk 1.8或以上

initializr service URL:https://start.spring.io

next.

4.接下来的弹框中可以修改一下Package:demo

5.接下来的弹框

developer tools:lombok

web:Spring Web Starter

SQL: Spring Data JPA、MySQL Driver

6.接下来选择自己项目需要放置的路径,点击完成。(注意:如果重新选择项目路径,需在路径后面加上项目名称,我的是demo)

原文地址:https://www.cnblogs.com/joeking/p/11143057.html