工具IDEA
一、构建项目
1、选择Spring Initializr
2、填写项目信息
3、勾选webService
4、勾选Thymeleaf
5、项目建立完成,启动类自动生成
二、写个Controller
启动服务。
浏览器访问/hello接口。
工具IDEA
1、选择Spring Initializr
2、填写项目信息
3、勾选webService
4、勾选Thymeleaf
5、项目建立完成,启动类自动生成
启动服务。
浏览器访问/hello接口。