【文件属性】:
文件名称:spring-boot-sample:启动 spring boot 时的示例
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-21 04:13:45
Java
弹簧靴样品
我尝试 Spring Boot 时的示例。
启动
mvn spring-boot:run
如何使用
通过访问以下内容呈现模板 html。
src/main/java/com/techscore/spring_boot_sample/hello.html
http://localhost:8080
通过访问以下内容获取监控信息。
http://localhost:8080/beans
用ssh连接。密码在启动时确定并输出到日志中。
ssh -p 2000 user@localhost
metrics
参考
【文件预览】:
spring-boot-sample-master
----src()
--------test()
--------main()
----README.md(734B)
----pom.xml(2KB)