Is there a way to store Thymeleaf templates not in resources or webapp, but in the same packages as classes instead? For example structure like this:
com
example
myapp
foo
Foo.class
Template.html
bar
Bar.class
Template.html
OtherTemplate.html
How would I have to configure Spring and Thymeleaf in order to achieve this?