diff --git a/README.md b/README.md index d89888a..dd558dd 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,9 @@ Spring Boot 使用的各种示例,以最简单、最实用为标准,此开 - [Spring Boot/Cloud 研发团队介绍](http://www.ityouknow.com/springboot/2019/01/03/spring-pivotal.html) - [Spring Boot 2 (十):Spring Boot 中的响应式编程和 WebFlux 入门](http://www.ityouknow.com/springboot/2019/02/12/spring-boot-webflux.html) ---- -## 下方示例逐步升级到2.X,目前更新到 Spring Boot(六),最新进展可以关注下方公号。 +## 下方示例逐步升级到2.X,目前更新到 Spring Boot(十),最新进展可以关注下方公号。 ![](http://www.itmind.net/assets/images/java.jpg) diff --git a/spring-boot-scheduler/pom.xml b/spring-boot-scheduler/pom.xml index b3d1836..38ad393 100644 --- a/spring-boot-scheduler/pom.xml +++ b/spring-boot-scheduler/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 1.4.2.RELEASE + 2.1.0.RELEASE @@ -33,11 +33,6 @@ spring-boot-starter-test test - - org.springframework.boot - spring-boot-devtools - true - @@ -45,9 +40,6 @@ org.springframework.boot spring-boot-maven-plugin - - true - diff --git a/spring-boot-scheduler/src/main/java/com/neo/Application.java b/spring-boot-scheduler/src/main/java/com/neo/SchedulerApplication.java similarity index 75% rename from spring-boot-scheduler/src/main/java/com/neo/Application.java rename to spring-boot-scheduler/src/main/java/com/neo/SchedulerApplication.java index f260f3d..1fd012d 100644 --- a/spring-boot-scheduler/src/main/java/com/neo/Application.java +++ b/spring-boot-scheduler/src/main/java/com/neo/SchedulerApplication.java @@ -6,9 +6,9 @@ import org.springframework.scheduling.annotation.EnableScheduling; @SpringBootApplication @EnableScheduling -public class Application { +public class SchedulerApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(SchedulerApplication.class, args); } } diff --git a/spring-boot-scheduler/src/test/java/com/neo/ApplicationTests.java b/spring-boot-scheduler/src/test/java/com/neo/SchedulerApplicationTests.java similarity index 88% rename from spring-boot-scheduler/src/test/java/com/neo/ApplicationTests.java rename to spring-boot-scheduler/src/test/java/com/neo/SchedulerApplicationTests.java index 569db81..9a627ba 100644 --- a/spring-boot-scheduler/src/test/java/com/neo/ApplicationTests.java +++ b/spring-boot-scheduler/src/test/java/com/neo/SchedulerApplicationTests.java @@ -7,7 +7,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest -public class ApplicationTests { +public class SchedulerApplicationTests { @Test public void contextLoads() {