thymeleaf关于 Error resolving template “index”, template might not exist or might not be accessible by any of the configured Template Resolvers https://stackoverflow.com/questions/31944355/error-resolving-template-index-template-might-not-exist-or-might-not-be-acces 如果以上答案没有解决你的问题的话: 检查你的application.yml (我的少了一个/) prefix: classpath:/templates/ 并且我在上面链接加了回复