Caused by: java.lang.IllegalStateException: Cannot find template location: class path resource [templates/] (please add some templates or check your Thymeleaf configuration)

Add this into if you don’t want spring boot to check for thymeleaf even if it is on the classpath:


Leave a Reply

Your email address will not be published. Required fields are marked *