SpringBoot 2.0.4搭建
进入官网https://start.spring.io/

down下来后倒入eclipse新建一个Action

这个时候报错有坑
https://docs.spring.io/spring-boot/docs/2.0.4.RELEASE/reference/htmlsingle/#getting-started-first-application-annotations

根据官网列子添加
spring-boot-starter-web
重新编译mvn,启动服务完成

浙公网安备 33010602011771号