版权声明:@CopyRight转载请注明出处 https://blog.csdn.net/LI_AINY/article/details/87277695
- 访问主页面时如图
- 解决办法
在application.yml中添加spring.freemarker.prefer-file-system-access: false
spring.freemarker.prefer-file-system-access意为是否优先从文件系统加载template - 成功访问主界面
spring.freemarker.prefer-file-system-access: false