diff --git a/samples/boot/gemfire-with-gfsh-servers/spring-session-sample-boot-gemfire-with-gfsh-servers.gradle b/samples/boot/gemfire-with-gfsh-servers/spring-session-sample-boot-gemfire-with-gfsh-servers.gradle index 83d7f15..f72bb91 100644 --- a/samples/boot/gemfire-with-gfsh-servers/spring-session-sample-boot-gemfire-with-gfsh-servers.gradle +++ b/samples/boot/gemfire-with-gfsh-servers/spring-session-sample-boot-gemfire-with-gfsh-servers.gradle @@ -6,7 +6,7 @@ dependencies { implementation project(':spring-session-data-geode') - implementation("org.springframework.boot:spring-boot-starter-thymeleaf") { + implementation("org.springframework.boot:spring-boot-starter-freemarker") { exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" } @@ -16,8 +16,6 @@ dependencies { implementation "jakarta.servlet:jakarta.servlet-api" implementation "org.springframework.data:spring-data-geode-test" - implementation "org.webjars:bootstrap" - implementation "org.webjars:webjars-locator" runtimeOnly "org.springframework.shell:spring-shell" diff --git a/samples/boot/gemfire-with-gfsh-servers/src/main/java/sample/client/Application.java b/samples/boot/gemfire-with-gfsh-servers/src/main/java/sample/client/Application.java index 8c5e788..e0b4061 100644 --- a/samples/boot/gemfire-with-gfsh-servers/src/main/java/sample/client/Application.java +++ b/samples/boot/gemfire-with-gfsh-servers/src/main/java/sample/client/Application.java @@ -102,6 +102,7 @@ public class Application { // end::class[] + @SuppressWarnings("all") HttpSession updateRequestCount(HttpSession session) { synchronized (session) { diff --git a/samples/boot/gemfire-with-gfsh-servers/src/main/resources/templates/index.html b/samples/boot/gemfire-with-gfsh-servers/src/main/resources/templates/index.ftlh similarity index 67% rename from samples/boot/gemfire-with-gfsh-servers/src/main/resources/templates/index.html rename to samples/boot/gemfire-with-gfsh-servers/src/main/resources/templates/index.ftlh index 48eab31..5cfe004 100644 --- a/samples/boot/gemfire-with-gfsh-servers/src/main/resources/templates/index.html +++ b/samples/boot/gemfire-with-gfsh-servers/src/main/resources/templates/index.ftlh @@ -1,5 +1,4 @@ - - + Session Attributes