fix: java 示例改用自建 runtime-tomcat10;war 补录 Jackson 依赖,jar 去掉错误的 RuntimeInfo 抽象
This commit is contained in:
@@ -17,8 +17,7 @@ springboot-jar17/
|
||||
├── src/main/java/cn/odboy/demo/
|
||||
│ ├── DemoApplication.java # @SpringBootApplication 入口
|
||||
│ ├── DemoController.java # @RestController:/ 、/api/info、/api/hello/{name}
|
||||
│ ├── PageController.java # @Controller:/page 渲染 Thymeleaf 模板
|
||||
│ └── BootRuntimeInfo.java # 输出 Spring Boot 版本号与主机名
|
||||
│ └── PageController.java # @Controller:/page 渲染 Thymeleaf 模板
|
||||
├── src/main/resources/
|
||||
│ ├── application.yml # 端口 8084、优雅停机、actuator 只开 health
|
||||
│ └── templates/index.html # /page 页面
|
||||
|
||||
Reference in New Issue
Block a user