SOFABoot 2.3.x/2.4.x 升级到 2.5.x
- spring-boot-starter-redis –> spring-boot-starter-data-redis
Spring Boot 1.5.x 对所有 默认进行了安全管控,即之前在 1.4.x 默认能访问的诸如 /beans, /dump 等 endpoints 在 1.5.x 版本均不能访问。如果需要访问,需要配置:> management.security.enabled=false
Spring Boot 1.5.x 将 1.4.x 中的 重命名为 ,在 1.5.x 仍然保持向前兼容。需要格外注意的是,在 2.x 版本中, 事件意义完全不一样。
- server.max-http-post-size –> server.tomcat.max-http-post-size
具体参考 Spring Boot 1.5.x 配置的 changelog