title: Spring @Cacheable is breaking @RequestMapping
body: <p>I have upgraded my application to Spring 3.1 and all the jars have been adequately updated. But when I try to use @Cacheable for a method in one of my controllers, URL mapping for all the methods of that controller breaks. On checking the log files I found that the URL mapping for all the methods of that controller were never detected. I am pretty sure that my cache configurations are fine.
  Can anyone give me some clue as what I might be doing wrong.</p>
  
  <p>ehcache.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ehcache&gt;
  &lt;defaultCache
  eternal="false"
  maxElementsInMemory="2" 
  overflowToDisk="false" 
  diskPersistent="false" 
  timeToLiveSeconds="300"
  memoryStoreEvictionPolicy="LRU" /&gt;
  
  &lt;cache name="Backlog"  
  eternal="false"
  maxElementsInMemory="2" 
  overflowToDisk="false" 
  diskPersistent="false" 
  timeToLiveSeconds="300"
  memoryStoreEvictionPolicy="LRU" /&gt;
  &lt;/ehcache&gt;
  </code></pre>
  
  <p>configuration:</p>
  
  <pre><code>&lt;bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager"&gt;
      &lt;property name="cacheManager"&gt;
          &lt;ref bean="ehcache" /&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  &lt;bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:configLocation="/WEB-INF/spring-configuration/ehcache.xml" /&gt;
  </code></pre>
  
  <p>code snippet:</p>
  
  <pre><code>@RequestMapping("/*/backlog")
  @Cacheable(value = "Backlog")
  public ModelAndView getBackLog(){ 
      //sth here
  }
  </code></pre>
  
  <p>Thanks for the help.</p>