Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
The reason is that by using the boot program version spring idea created for the 2.2 is not compatible with freemarker package;
Solution:
Change the spring boot version: 2.1.1.RELEASE