Unable to load thymleaf template in Spring boot App

enter image description here

I have created a new Spring Boot app & trying to run on localhost, my project is running successfully but thymleaf template engine fails to load templates.

I have attached my project hierarchy screenshot. anyone can help regarding that ?

  1. added thymleaf dependency
    2.added templates in templates folder
  2. added class Path in application. Properties.
  3. project maven updated, build & run successful.

Leave a Comment