File tree Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,9 @@ Spring Boot 使用的各种示例,以最简单、最实用为标准,此开
46
46
- [ Spring Boot/Cloud 研发团队介绍] ( http://www.ityouknow.com/springboot/2019/01/03/spring-pivotal.html )
47
47
- [ Spring Boot 2 (十):Spring Boot 中的响应式编程和 WebFlux 入门] ( http://www.ityouknow.com/springboot/2019/02/12/spring-boot-webflux.html )
48
48
49
- ---
50
49
51
50
52
- ## 下方示例逐步升级到2.X,目前更新到 Spring Boot(六 ),最新进展可以关注下方公号。
51
+ ## 下方示例逐步升级到2.X,目前更新到 Spring Boot(十 ),最新进展可以关注下方公号。
53
52
54
53
![ ] ( http://www.itmind.net/assets/images/java.jpg )
55
54
Original file line number Diff line number Diff line change 14
14
<parent >
15
15
<groupId >org.springframework.boot</groupId >
16
16
<artifactId >spring-boot-starter-parent</artifactId >
17
- <version >1.4.2 .RELEASE</version >
17
+ <version >2.1.0 .RELEASE</version >
18
18
<relativePath /> <!-- lookup parent from repository -->
19
19
</parent >
20
20
33
33
<artifactId >spring-boot-starter-test</artifactId >
34
34
<scope >test</scope >
35
35
</dependency >
36
- <dependency >
37
- <groupId >org.springframework.boot</groupId >
38
- <artifactId >spring-boot-devtools</artifactId >
39
- <optional >true</optional >
40
- </dependency >
41
36
</dependencies >
42
37
43
38
<build >
44
39
<plugins >
45
40
<plugin >
46
41
<groupId >org.springframework.boot</groupId >
47
42
<artifactId >spring-boot-maven-plugin</artifactId >
48
- <configuration >
49
- <fork >true</fork >
50
- </configuration >
51
43
</plugin >
52
44
</plugins >
53
45
</build >
Original file line number Diff line number Diff line change 6
6
7
7
@ SpringBootApplication
8
8
@ EnableScheduling
9
- public class Application {
9
+ public class SchedulerApplication {
10
10
11
11
public static void main (String [] args ) {
12
- SpringApplication .run (Application .class , args );
12
+ SpringApplication .run (SchedulerApplication .class , args );
13
13
}
14
14
}
Original file line number Diff line number Diff line change 7
7
8
8
@ RunWith (SpringRunner .class )
9
9
@ SpringBootTest
10
- public class ApplicationTests {
10
+ public class SchedulerApplicationTests {
11
11
12
12
@ Test
13
13
public void contextLoads () {
You can’t perform that action at this time.
0 commit comments