SpringCloudEureka配置主界面访问失败解决方法

application.properties文件配置如下

在这里插入图片描述
访问http://localhost:8791 结果如下
在这里插入图片描述

解决方法在application.properties文件添加:

在这里插入图片描述
成功返回页面
在这里插入图片描述

spring.freemarker.prefer-file-system-access是否优先从文件系统加载template,默认值为true

猜你喜欢

转载自blog.csdn.net/Demodemon/article/details/85162924
今日推荐