提交 ed67c898 编写于 作者: 微笑很纯洁's avatar 微笑很纯洁

scheduler

上级 6c172907
......@@ -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)
......
......@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.2.RELEASE</version>
<version>2.1.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
......@@ -33,11 +33,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
......@@ -45,9 +40,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugins>
</build>
......
......@@ -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);
}
}
......@@ -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() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册