title: Velocity. Can't load my resources
body: <p>structure of my project:</p>
  
  <pre><code>-src
  --main
  ---java
  ----makers
  -----SomeClass
  ---resources
  ----htmlPattern.vm
  </code></pre>
  
  <p>How tell to SomeClass about htmlPattern. I try something like this:</p>
  
  <pre><code>    VelocityEngine ve = new VelocityEngine();
      Properties properties = new Properties();
      properties.setProperty("resource.loader", "file");
      properties.setProperty("file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.FileResourceLoader");
      properties.setProperty("file.resource.loader.path", "resources");
      properties.setProperty("file.resource.loader.cache", "true");
      properties.setProperty("file.resource.loader.modificationCheckInterval", "2");
      ve.init(properties);
  
      Template t = ve.getTemplate("htmlPattern.vm", "utf-8");
  </code></pre>
  
  <p>What's wrong? The IDE says: </p>
  
  <pre><code>org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'htmlPattern.vm'
  </code></pre>