From afeb5529347a09ea8960b4feecf39a17ecd2cb68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ferna=CC=81ndez?= Date: Thu, 4 Oct 2018 03:01:41 +0200 Subject: [PATCH] Adapted to Spring 5.1 --- pom.xml | 4 ++-- .../springmail/business/SpringMailConfig.java | 2 +- .../thymeleafexamples/springmail/web/SpringWebConfig.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 297dbd9..f010cdc 100755 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,7 @@ 1.6 US-ASCII 3.0.10-SNAPSHOT - 4.3.3.RELEASE + 5.1.0.RELEASE @@ -215,7 +215,7 @@ org.thymeleaf - thymeleaf-spring4 + thymeleaf-spring5 ${thymeleaf.version} compile diff --git a/src/main/java/thymeleafexamples/springmail/business/SpringMailConfig.java b/src/main/java/thymeleafexamples/springmail/business/SpringMailConfig.java index 2e06c70..39556aa 100644 --- a/src/main/java/thymeleafexamples/springmail/business/SpringMailConfig.java +++ b/src/main/java/thymeleafexamples/springmail/business/SpringMailConfig.java @@ -16,7 +16,7 @@ import org.springframework.mail.javamail.JavaMailSender; import org.springframework.mail.javamail.JavaMailSenderImpl; import org.thymeleaf.TemplateEngine; -import org.thymeleaf.spring4.SpringTemplateEngine; +import org.thymeleaf.spring5.SpringTemplateEngine; import org.thymeleaf.templatemode.TemplateMode; import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver; import org.thymeleaf.templateresolver.ITemplateResolver; diff --git a/src/main/java/thymeleafexamples/springmail/web/SpringWebConfig.java b/src/main/java/thymeleafexamples/springmail/web/SpringWebConfig.java index 3eef7c8..7fdde26 100644 --- a/src/main/java/thymeleafexamples/springmail/web/SpringWebConfig.java +++ b/src/main/java/thymeleafexamples/springmail/web/SpringWebConfig.java @@ -11,9 +11,9 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; -import org.thymeleaf.spring4.SpringTemplateEngine; -import org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver; -import org.thymeleaf.spring4.view.ThymeleafViewResolver; +import org.thymeleaf.spring5.SpringTemplateEngine; +import org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver; +import org.thymeleaf.spring5.view.ThymeleafViewResolver; import org.thymeleaf.templatemode.TemplateMode; /**