Spring Boot gets the files under java resources Springboot gets the directories under the resources directory (for example: get the template directory under the resources directory):
method 1:

Method 2:

Categories: Java