Cache Evict is not working
<p>in my project, I am using a @Cacheable annotation ia a service method that returns results of calculation involving books and some marks, and i want to Evict Caching in a @Controller class method that adds a new book to the database, because this new one will be necessary to a new calculation. </p>

<p>Service class:
@Cacheable("metas")
<code>public ... calculate(){return calculation;}</code></p>

<p>Controller class:
@RequestMapping
@CacheEvict(value="metas", allEntries=true)
<code>public void addNewBook();</code></p>

<p>Why it is not working?</p>