title: FreeMarker Spring MVC issue with import
body: <p>I have issue when importing files in freemarker. My folder structure looks like this:
  <img src="https://i.stack.imgur.com/Pzk4t.png" alt="File structure"></p>
  
  <p>And in my index I have code like this:</p>
  
  <pre><code>&lt;#import "../layouts/standart.ftl" as layout&gt;
  &lt;@layout.test&gt;
  &lt;div&gt;&lt;h1&gt;Hello Dude&lt;/h1&gt;&lt;/div&gt;
  &lt;/@layout.test&gt;
  </code></pre>
  
  <p>My template looks like this:</p>
  
  <pre><code>&lt;#macro test&gt;
  &lt;html&gt;
  ...
  &lt;/html&gt;
  &lt;/#macro&gt;
  </code></pre>
  
  <p>Here is part of the exception that I get when I try to access page. </p>
  
  <blockquote>
    <p>FreeMarker template error: Error reading imported template
    ../layouts/standart.ftl The failing instruction (FTL stack trace):
    ---------- ==> #import "../layouts/standart.ftl" as ... [in template "index.ftl" at line 1, column 1] ---------- Java stack trace (for
    programmers): ---------- freemarker.core._MiscTemplateException: [...
    Exception message was already printed; see it above ...] at
    freemarker.core.LibraryLoad.accept(LibraryLoad.java:118) at
    What am I doing wrong?
    Thanks for any advice.</p>
  </blockquote>