第一个SpringBoot程序
1. 网页生成代码: https://start.spring.io/


2. 解压并导入IDEA




//命令行启动
terminal:
C:\Users\q8207\Desktop\hello-spring>curl http://localhost:8080/actuator/health
{"status":"UP"}
C:\Users\q8207\Desktop\hello-spring>curl http://localhost:8080/hello
mvn clean package -Dmaven.test.skip
cd target
java -jar hello.jar 没有orient
运行效果

不停的思考,就会不停的进步

浙公网安备 33010602011771号