title: Objectify 5.1 Context Not Started Error due to missing ObjectifyFilter
body: <p>with the latest version of Objectify (5.1), am getting following error when i try to access the ofy() method </p>
  
  <p><strong>You have not started an Objectify context. You are probably missing the ObjectifyFilter. If you are not running in the context of an http request, see the ObjectifyService.run() method.</strong></p>
  
  <p>i am running it from appengine web application, same code and configuration worked fine in older versions </p>
  
  <p>following is my configuration, similar to the example provided in objectify documentation </p>
  
  <p>web.xml</p>
  
  <pre><code>&lt;filter&gt;
      &lt;filter-name&gt;ObjectifyFilter&lt;/filter-name&gt;
      &lt;filter-class&gt;com.googlecode.objectify.ObjectifyFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;ObjectifyFilter&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>OfyService class</p>
  
  <pre><code>public class OfyService {
  
  static {
      long start = System.currentTimeMillis();
  
      factory().register(User.class);
  
      log.info(" Entity Registration took : {} ms", (System.currentTimeMillis() - start));
  }
  
  public static Objectify ofy() {
      return ObjectifyService.ofy();
  }
  
  public static ObjectifyFactory factory() {
      return (ObjectifyFactory) ObjectifyService.factory();
  }
  }
  </code></pre>
  
  <p>but i do defined ObjectifyFilter , any idea why am i getting this error? and how can i fix it?</p>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I have updated the objectify version to v5.1.5 but still the issue is not resolved any update on this?</p>