From c03902bd66409c62cec0c6c6567e71cb88d4c688 Mon Sep 17 00:00:00 2001 From: Rajeev Singh Date: Tue, 26 Nov 2019 22:10:05 +0530 Subject: [PATCH 1/2] Bump up spring boot version to 2.2.1 --- pom.xml | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 9c59df4..1145d6d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.2.1.RELEASE diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index b0f06a8..d357d46 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,5 @@ ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) -spring.datasource.url = jdbc:mysql://localhost:3306/notes_app?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false +spring.datasource.url = jdbc:mysql://localhost:3306/notes_app?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false spring.datasource.username = root spring.datasource.password = callicoder From 842e64455ce9bc2dee07299c4acaf748e165de9c Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Singh Date: Wed, 13 Oct 2021 22:32:16 +0530 Subject: [PATCH 2/2] Bump up Sprint Boot version to 2.5.5 --- pom.xml | 9 ++++++--- .../com/example/easynotes/EasyNotesApplicationTests.java | 5 +---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 1145d6d..baec0d9 100644 --- a/pom.xml +++ b/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + org.springframework.boot spring-boot-devtools diff --git a/src/test/java/com/example/easynotes/EasyNotesApplicationTests.java b/src/test/java/com/example/easynotes/EasyNotesApplicationTests.java index 4bf539c..298ed22 100644 --- a/src/test/java/com/example/easynotes/EasyNotesApplicationTests.java +++ b/src/test/java/com/example/easynotes/EasyNotesApplicationTests.java @@ -1,11 +1,8 @@ package com.example.easynotes; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class EasyNotesApplicationTests {