在Spring官网使用脚手架:
https://start.spring.io/
选择3项依赖:
编写代码:
启动运行应用:
启动了8080端口
访问:
http://localhost:8080/hyc
健康检查:
http://localhost:8080/actuator/health
标签:尝试,8080,SpringBoot,demo,http,localhost From: https://www.cnblogs.com/fatfatdachao/p/17533466.html