今天升级项目的SpringBoot版本到1.5.4,发现一堆问题,其中Velocity的支持已经移除,导致视图一直报错,之前知道Spring4.3废弃了Velocity,@deprecated as of Spring 4.3, in favor of FreeMarker,所以以为Springboot也只是deprecated ,谁曾想居然remove掉了。
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.5-Release-Notes
Classes, methods and properties that were deprecated in Spring Boot 1.4 have been removed in this release. Please ensure that you aren’t calling deprecated methods before upgrading. In particular, the HornetQ and Velocity support have been removed.
本文记录了将SpringBoot版本升级到1.5.4过程中遇到的问题之一:Velocity模板引擎的支持被彻底移除。此变动导致使用Velocity的视图报错。文章提及Spring 4.3版本开始废弃Velocity,并推荐使用FreeMarker。
4837

被折叠的 条评论
为什么被折叠?



