今天升级项目的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模板引擎的支持已被移除。由于Spring 4.3已将Velocity标记为废弃,SpringBoot 1.5.4正式移除了这一支持。
4838





