This question has been asked before but I did not solve my problem and I getting some weird functionality.
If I put my index.html file in the static directory like s
I am new to spring spent an hour trying to figure this out.
go to --- > application.properties
application.properties
add these :
spring.thymeleaf.prefix=classpath:/templates/ spring.thymeleaf.suffix=.html