IDEA 创建Springboot 项目
创建Springboot项目
-
File- New project
,选择Spring Initializr
工程 -
-
如果一直卡住,或者连接超时,可以换成阿里云的地址,或者从官网下载到本地
- 阿里云地址
-
-
-
目录结构
测试
package cn.tedu.cgb2106boot01;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloBoot {
@RequestMapping