Spring Boot 2.0系列教程(一) 使用IDEA生成S

2018-01-15  本文已影响106人  zheting

官网:https://projects.spring.io/spring-boot/

Spring Boot 2.0.0.M7 requires Java 8 and Spring Framework 5.0.2.RELEASE or above. Explicit build support is provided for Maven 3.2+ and Gradle 4.

检查JDK和Gradle

Servlet Containers
The following embedded servlet containers are supported out of the box:


servlet containers required

You can also deploy Spring Boot applications to any Servlet 3.0+ compatible container.

创建一个Spring Boot 项目

创建项目 选择JDK1.8+ 选择Gradle项目 选择spring boot2.0 指定项目名称和路径 选择本地gradle 等待gradle构建完成,首次比较慢 运行 启动成功

也可以参看:https://www.jetbrains.com/help/idea/2017.1/creating-spring-boot-projects.html
或者: https://start.spring.io/

上一篇 下一篇

猜你喜欢

热点阅读