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

官网: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/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。