Hello,
=> springboot starter project - version '2.4.2' => java version - 11 => 'spring-boot-starter-thymeleaf', version: '2.7.3' ( checked some higher version also)
- thymeleaf library is added in external libraries too.
- my html file is under templates
@GetMapping("/test")
public String test() {
return "test"; // This corresponds to test.html
}
*** also tried differenct cases but thymeleaf not working ? requesting you to guide me ...
Comment From: wilkinsona
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
Also, please note a couple of things:
- Support for Spring Boot 2.x has ended. Please upgrade to 3.2.x or later and then ask a question on Stack Overflow if you're still having difficulties.
- You should not mix versions as you appear to be doing by using 2.4.2 and 2.7.3 at the same time.