一、环境准备
IDEA Community Edition
jdk8
maven
二、下载SpringBoot项目
![](https://img.haomeiwen.com/i24930360/0769473df5adea43.png)
项目名称自己修改下。
![](https://img.haomeiwen.com/i24930360/852ce7d4c2de70ce.png)
点击ADD DEPENDENCIES,添加Web依赖。
下载构建好的SpringBoot项目的压缩包
三、idea中打开SpringBoot项目
![](https://img.haomeiwen.com/i24930360/f74cc156ae1516f1.png)
![](https://img.haomeiwen.com/i24930360/a6a87df39e67042d.png)
使用maven加载依赖。
四、测试
添加如下代码
![](https://img.haomeiwen.com/i24930360/51bb609ecd8cd0ab.png)
启动SpringBoot项目,访问localhost:8080/hello,如下SpringBoot项目构建成功。
![](https://img.haomeiwen.com/i24930360/06898b352e48f910.png)
IDEA Community Edition
jdk8
maven
使用maven加载依赖。
添加如下代码
启动SpringBoot项目,访问localhost:8080/hello,如下SpringBoot项目构建成功。
本文标题:最简单IDEA社区版构建SpringBoot项目
本文链接:https://www.haomeiwen.com/subject/wyiqwltx.html
网友评论