--
You received this message because you are subscribed to the Google Groups "ehcache-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ehcache-user...@googlegroups.com.
To post to this group, send email to ehcach...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/27b590b4-3678-477b-8222-4f0b482c1a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
spring.cache.jcache.config=classpath:ehcache.xml
Add a dependency to JSR107
<dependency>Without these two things, Spring Boot won't understand that you want to use Ehcache. So it will use the default cache.
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>1.1.0</version>
<scope>runtime</scope>
</dependency>
<heap unit="entries">2000</heap>
--
You received this message because you are subscribed to the Google Groups "ehcache-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ehcache-user...@googlegroups.com.
To post to this group, send email to ehcach...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/4f27075e-f267-4481-a085-17a0809dad32%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/1959cf7c-98c6-4dfe-a338-ba0ea971e73c%40googlegroups.com.
@Autowiredsomewhere and looking at the implementation in debug.
private CacheManager cacheManager;
spring.cache.jcache.config=classpath:ehcache.xml
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/7c6fad9a-11e6-4d3e-bafe-d5483a3f3b68%40googlegroups.com.