创建springboot项目 我是使用idea来创建一个新的项目,jdk17,maven。 先选一个spring web就够了,后续需要啥功能再慢慢添加 写个简单controller测试一下能不能成功启动项目 启动项目,本地访问http://localhost:8080/test/test OK,此时算是项目初步搭建好了,一个最简单的spring boot项目,能写简单的API,可以在web上访问。 创建GitHub仓库 首先登陆GitHub,然后创建一个新项目。