安东
2018-10-25 10:04
报错
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Oct 25 09:57:57 CST 2018
There was an unexpected error (type=Internal Server Error, status=500).
Error resolving template "thymeleaf/center/center", template might not exist or might not be accessible by any of the configured Template Resolvers
原来是最后少了个斜杠
spring.freemarker.template-loader-path=classpath:/templates/
spring.thymeleaf.prefix=classpath:/templates
我把配置文件里上面这行注释就可以访问了,不知道为什么
SpringBoot开发常用技术整合
102171 学习 · 508 问题
相似问题