thymeleaf在开发环境正常,但用jar运行时报错 Error resolving template template might not exist or might not be accessible
其他
2018-06-23 11:48:58
阅读次数: 2
解决方案:
(1)配置中添加 spring.thymeleaf.prefix=classpath:/templates
(2)指向模板的路径 不加 /
转载自www.cnblogs.com/gqymy/p/9216710.html