diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index ffcdec0254f..9b351e38c69 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.6.1 3.1.2 2.10.2 - 3.0.0 + 3.0.1 1.50.3 3.2.1 2.3.23 diff --git a/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties index 80048ca64c5..d913ffc2cc8 100644 --- a/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties @@ -5,9 +5,9 @@ # -# JCache configuration (example with hazelcast). +# JCache configuration (example with ehcache 3). # -#spring.cache.jcache.config=hazelcast.xml +#spring.cache.jcache.config=ehcache3.xml # diff --git a/spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml b/spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml index 7f813250090..df1a92a60d4 100644 --- a/spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml +++ b/spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml @@ -1,12 +1,14 @@ - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:jsr107="http://www.ehcache.org/v3/jsr107" + xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd + http://www.ehcache.org/v3/jsr107 http://www.ehcache.org/schema/ehcache-107-ext-3.0.xsd"> 600 200 + \ No newline at end of file