Spring Boot
文章平均质量分 53
guohaodong1024
2的10次方
展开
-
【Caused by】Zip64 archives are not supported
Caused by: Zip64 archives are not supported2018.10.23前言A ---> BSpring Boot项目中A模块依赖于B模块,但对A打包完运行后,报错显示不支持Zip64。官方Github对该问题进行了解释1:受限于Spring Boot加载器,无法读取zip64格式文件。同时也给出了疑问:为何单个包会如此地大。方法在这个ca...原创 2018-10-23 20:28:23 · 3135 阅读 · 0 评论 -
【框架】Spring Boot: 实现优雅退出
2018.11.18文章目录前言方法方法一:Actuator的Endpoint机制[^1]方法二:使用`ApplicationContext#close()`方法方法三:`@PreDestroy` + `kill `前言要求某个基于Spring Boot的调度器,能实现优雅退出,使得退出时正在运行时的作业能进行必要的回滚操作。为此,翻译某技术博客的总结1。方法每个Spring应用都会...翻译 2018-11-18 22:47:07 · 8633 阅读 · 0 评论 -
【框架】Spring Boot: Actuator Endpoint
2018.11.14文章目录前言介绍技术透明( technology-agnostic)的端点端点使用端点开启端点公开方式加固HTTP端点访问自定义端点前言Spring Boot Actuator Endpoint1介绍Spring Boot的Actuator执行器endpoints端点,可以用于应用程序的监控和交互。Spring Boot内建了许多端点,用户也可以自定义端点。比如h...翻译 2018-11-18 23:02:06 · 2262 阅读 · 0 评论