title: Error while integrating Freemarker to Spring mvc
body: <p>I tried to integrate Freemarker templates to Spring mvc application. I tried it as shows in tutorials.Here is the code,
  I am using freemarker 2.3.15</p>
  
  <h2>servletcontext.xml</h2>
  
  <pre><code> &lt;!-- freemarker config --&gt;
      &lt;beans:bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer"&gt;
        &lt;beans:property name="templateLoaderPath" value="/WEB-INF/views/"/&gt;
      &lt;/beans:bean&gt;
  
      &lt;!--
        View resolvers can also be configured with ResourceBundles or XML files. If you need
        different view resolving based on Locale, you have to use the resource bundle resolver.
      --&gt;
      &lt;beans:bean id="viewResolver" class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver"&gt;
        &lt;beans:property name="cache" value="true"/&gt;
        &lt;beans:property name="prefix" value="/WEB-INF/views/"/&gt;
        &lt;beans:property name="suffix" value=".ftl"/&gt;
      &lt;/beans:bean&gt;
  </code></pre>
  
  <p>It gives to errors:</p>
  
  <pre><code>1. Build path is incomplete. Cannot find class file for org/springframework/ui/freemarker/
   FreeMarkerConfigurationFactory
  
  2.No setter found for property 'templateLoaderPath' in class 
   'org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer' [config set: Warehouse/web-context]
  </code></pre>