Spring Boot 2 Starter¶
This starter is compatible with Spring Boot 2.x!
Add required dependencies¶
The starter configures a
org.springframework.web.servlet.ViewResolver and a jte Template engine. Now you can return a string, pointing to template file name and the resolver will take care to instantiate the view and render the template.
By default, the templates are expected at
You can use it with Spring WebMVC as well as with Spring WebFlux.
By default, the template files are expected in
src/main/jte. If any active profile is named
prod the template engine will be configured
to use precompiled templates otherwise the jte file watcher will watch for changes in templates and recompile them.
Both options can be changed via