修改了一下开源项目的目录结构访问突然报错Error resolving template “XXX […]
第一种方案: 直接修改yml配置文件:
1 2 3 4 5 6 7 8 |
#thymeleaf thymeleaf: cache: false prefix: classpath:/templates/ check-template-location: true suffix: .html encoding: utf-8 mode: HTML |
#这 […]
主要原因项目搭建的时候为了保证项目的安全,配置文件会进行访问拦截 所以引用静态资源尽管引用路径没有出错,但项目 […]