From a80d91e0e20322c9c0fcbc9c85769d8c6af5e939 Mon Sep 17 00:00:00 2001 From: "fabio.formosa" Date: Tue, 23 Jan 2018 00:14:44 +0100 Subject: [PATCH] updated spring boot to ver 1.5.9 --- quartz-manager/pom.xml | 3 ++- .../src/main/java/it/fabioformosa/ServletInitializer.java | 2 +- .../it/fabioformosa/QuartManagerApplicationTests.java | 8 +++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/quartz-manager/pom.xml b/quartz-manager/pom.xml index deb2dad..12e3f20 100644 --- a/quartz-manager/pom.xml +++ b/quartz-manager/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 1.3.2.RELEASE + 1.5.9.RELEASE @@ -47,6 +47,7 @@ org.springframework.boot spring-boot-starter-velocity + 1.4.7.RELEASE org.springframework.boot diff --git a/quartz-manager/src/main/java/it/fabioformosa/ServletInitializer.java b/quartz-manager/src/main/java/it/fabioformosa/ServletInitializer.java index db8703c..1f581cf 100644 --- a/quartz-manager/src/main/java/it/fabioformosa/ServletInitializer.java +++ b/quartz-manager/src/main/java/it/fabioformosa/ServletInitializer.java @@ -1,7 +1,7 @@ package it.fabioformosa; import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.context.web.SpringBootServletInitializer; +import org.springframework.boot.web.support.SpringBootServletInitializer; public class ServletInitializer extends SpringBootServletInitializer { diff --git a/quartz-manager/src/test/java/it/fabioformosa/QuartManagerApplicationTests.java b/quartz-manager/src/test/java/it/fabioformosa/QuartManagerApplicationTests.java index 778d4d1..6bd3165 100644 --- a/quartz-manager/src/test/java/it/fabioformosa/QuartManagerApplicationTests.java +++ b/quartz-manager/src/test/java/it/fabioformosa/QuartManagerApplicationTests.java @@ -1,15 +1,13 @@ package it.fabioformosa; -import it.fabioformosa.QuartManagerApplication; - import org.junit.Test; import org.junit.runner.RunWith; -import org.springframework.test.context.web.WebAppConfiguration; -import org.springframework.boot.test.SpringApplicationConfiguration; +import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.web.WebAppConfiguration; @RunWith(SpringJUnit4ClassRunner.class) -@SpringApplicationConfiguration(classes = QuartManagerApplication.class) +@SpringBootTest(classes = QuartManagerApplication.class) @WebAppConfiguration public class QuartManagerApplicationTests {