Spring-Boot MVC Template Not Loading (404 Not Found)

It looks like you don’t have Thymeleaf on your class path.

Add this dependency:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>

and everything should work then.

If you’re still facing some issues I recommend creating new project with http://start.spring.io/

Leave a Comment

tech