使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
来源:互联网 发布:云计算架构师招聘 编辑:程序博客网 时间:2024/05/22 07:07
使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
在之前的所有Spring Boot和Spring Cloud相关博文中,都会涉及Spring Boot工程的创建。而创建的方式多种多样,我们可以通过Maven来手工构建或是通过脚手架等方式快速搭建,也可以通过《Spring Boot快速入门》一文中提到的SPRING INITIALIZR
页面工具来创建,相信每位读者都有自己最喜欢和最为熟练的创建方式。
本文我们将介绍嵌入的Intellij中的Spring Initializr工具,它同Web提供的创建功能一样,可以帮助我们快速的构建出一个基础的Spring Boot/Cloud工程。
菜单栏中选择
File
=>New
=>Project..
,我们可以看到如下图所示的创建功能窗口。其中Initial Service Url
指向的地址就是Spring官方提供的Spring Initializr工具地址,所以这里创建的工程实际上也是基于它的Web工具来实现的。点击
Next
,等待片刻后,我们可以看到如下图所示的工程信息窗口,在这里我们可以编辑我们想要创建的工程信息。其中,Type
可以改变我们要构建的工程类型,比如:Maven、Gradle;Language
可以选择:Java、Groovy、Kotlin。点击
Next
,进入选择Spring Boot版本和依赖管理的窗口。在这里值的我们关注的是,它不仅包含了Spring Boot Starter POMs中的各个依赖,还包含了Spring Cloud的各种依赖。点击
Next
,进入最后关于工程物理存储的一些细节。最后,点击Finish
就能完成工程的构建了。
Intellij中的Spring Initializr
虽然还是基于官方Web实现,但是通过工具来进行调用并直接将结果构建到我们的本地文件系统中,让整个构建流程变得更加顺畅,还没有体验过此功能的Spring Boot/Cloud爱好者们不妨可以尝试一下这种不同的构建方式。
0 0
- 使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 使用IntelliJ IDEA中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- SpringBoot(2) Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- IntelliJ IDEA 2017.2.5 x64中的Spring Initializr来快速构建Spring Boot/Cloud工程
- Intellij-Spring Initializr快速创建SpringBoot/Cloud工程。
- Spring基础:快速入门spring boot(2):SPRING INITIALIZR
- 01.Spring Cloud学习笔记之使用IDEA+Spring Boot快速构建Rest服务
- Spring initializr使用
- Spring Boot之Spring Initializr搭建
- 使用Spring Boot快速构建应用
- 使用Spring Boot快速构建应用
- 使用Spring Boot快速构建应用
- 使用Spring Boot快速构建应用
- 使用 Spring Boot 快速构建应用服务
- 使用Spring Boot快速构建应用
- 使用Spring Boot快速构建应用
- LeetCode 34. Search for a Range
- HDU2222 Keywords Search
- win10重装 下载 启动盘制作 密钥 激活错误 0x8007007B
- java第十二天
- 关系型数据库性能优化总结
- 使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 安利一个个人网页
- iOS即时通讯从入门到“放弃”?
- Android ormLite复杂条件查询
- java第十三天
- 前端工程师不得不知道的ES6新特性(三)
- 《Object-C编程全解》笔记二:基于引用计数的内存管理
- 3DS MAX 学习笔记 一(阵列工具)
- java第十四天