title: spring-boot-starter-freemarker does not find templates
body: <p>Using <code>spring-boot-starter-freemarker</code> without further config I would expect to be able to load templates from the default template path(<code>src/resources/tempaltes</code>) (note it's <code>src/...</code> not <code>build/...</code>).</p>
  <p>Having this file here:</p>
  <pre><code>src/resources/templates/emails/welcome.ftl
  </code></pre>
  <p>Trying to load it as a template:</p>
  <pre><code>// some service class
    @Autowired
    private Configuration freemarkerConfig;
  
    public void doStuff() {
      Template t = freemarkerConfig.getTemplate(&quot;emails/welcome.ftl&quot;);
      // ...
    }
  </code></pre>
  <p>Fails with this error message:</p>
  <pre><code>freemarker.template.TemplateNotFoundException: Template not found for name &quot;emails/welcome.text.ftl&quot;.
  The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir=&quot;/some/path/backend/build/resources/main/templates&quot;, canonicalBasePath=&quot;/some/path/backend/build/resources/main/templates/&quot;), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath=&quot;&quot; /* relatively to resourceLoaderClass pkg */)).
  </code></pre>
  <p>So the configuration seems kind of ok-ish, but instead of the <code>src</code> folder it is using the <code>build</code> folder. When running via<code>./gradlew bootRun</code> we see the error. Doing a <code>./gradlew build</code>and then <code>./gradlew bootRun</code> the templates are found - because they are now in the <code>build</code> folder. But for development it would be much appreciated to not require a full re-build.</p>
  <p>So, I know we now could configure freemarker manually to load from the <code>src</code> folder, but that feels hacky.</p>
  <p>Am I doing s/th wrong or is this expected behavior?</p>