SpringBoot(2) Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
来源:互联网 发布:港股模拟软件 编辑:程序博客网 时间:2024/05/17 02:09
感谢作者:翟永超 原文链接:http://blog.didispace.com/spring-initializr-in-intellij/
在之前的所有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爱好者们不妨可以尝试一下这种不同的构建方式。
- SpringBoot(2) Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 使用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工程
- IntelliJ IDEA 2017.2.5 x64中的Spring Initializr来快速构建Spring Boot/Cloud工程
- Intellij-Spring Initializr快速创建SpringBoot/Cloud工程。
- Spring基础:快速入门spring boot(2):SPRING INITIALIZR
- Spring Boot+JPA+Mysql+ThymeLeaf快速构建CURD系统(二)搭建SpringBoot工程
- Spring Boot+JPA+Mysql+ThymeLeaf快速构建CURD系统(二)搭建SpringBoot工程
- Spring Boot之Spring Initializr搭建
- Spring Cloud 3:Spring Boot快速入门
- 使用Spring initializr 创建springboot项目
- 01.Spring Cloud学习笔记之使用IDEA+Spring Boot快速构建Rest服务
- SpringBoot系列—Spring Cloud快速入门
- 快速构建Spring Boot项目
- 快速创建spring boot工程
- Spring Boot (一) maven构建springboot初探
- 百度笔试---买帽子
- C# Aspose.Word 操作word文档【四】
- 可借鉴的C++爬虫范本---来自网络收集
- 简单计时器
- 一个不成熟的pushlet集群解决方案
- SpringBoot(2) Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 图像处理
- Matlab 读取excel中数据
- 我的第一篇CSDN博客
- C++的向上类型转换
- jdk8 Metaspace 调优
- JAVA虚拟机内存结构精简要义(干货)
- 关于Servlet找不到路径的问题(Servlet HTTP Status 404 )
- 2017中国青岛国际食品博览会 青岛国际餐饮食材暨火锅食材展览会会刊(参展商名录)