template might not exist or might not be accessible by any of the configured
报这个错的前提是在springboot的项目中使用了thymeleaf模版或freemarker模版。
然后原因一般有二:
1.真的没有这个模版文件,或是模版文件路径不正确。
2.在非模版页面的请求中没有使用@RestController或@ResponseBody注解,或是反过来,在模版页面的请求中使用了@RestController或@ResponseBody注解。
"纵有疾风起,人生不言弃。"
你要去做一个大人,不要回头,不要难过。