File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
spring-boot-samples/spring-boot-sample-cache Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ If you want to configure your cache infrastructure via the standard, you need a
43
43
implementation and the JSR-107 api. You first need to add `javax.cache:cache-api` to your
44
44
project. Then you could try the following:
45
45
46
+ * `EhCache 3`: add `org.ehcache:ehcache`
46
47
* `Hazelcast`: add `com.hazelcast:hazelcast`
47
48
* `Infinispan`: add `org.infinispan:infinispan-jcache`
48
49
@@ -59,14 +60,9 @@ of the library that you want to use.
59
60
=== EhCache 2.x
60
61
Simply add the `net.sf.ehcache:ehcache` dependency to the project. Since there is a
61
62
default `ehcache.xml` configuration file at the root of the classpath, it is automatically
62
- used to configure the underlying `CacheManager`.
63
-
64
-
65
-
66
- === EhCache 3.x
67
- Simply add the `org.ehcache:ehcache` dependency to the project. Since there is a
68
- default `ehcache.xml` configuration file at the root of the classpath, it is automatically
69
- used to configure the underlying `CacheManager`.
63
+ used to configure the underlying `CacheManager`. Note that EhCache 3 uses a different
64
+ format and doesn't default to `ehcache.xml` anymore. Check
65
+ http://www.ehcache.org/documentation/3.0/xml.html[the documentation] for more details.
70
66
71
67
72
68
You can’t perform that action at this time.
0 commit comments