Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
灰非灰乀
spring-boot-examples
提交
ed67c898
S
spring-boot-examples
项目概览
灰非灰乀
/
spring-boot-examples
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-boot-examples
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ed67c898
编写于
3月 15, 2019
作者:
微笑很纯洁
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scheduler
上级
6c172907
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
14 deletion
+5
-14
README.md
README.md
+1
-2
spring-boot-scheduler/pom.xml
spring-boot-scheduler/pom.xml
+1
-9
spring-boot-scheduler/src/main/java/com/neo/SchedulerApplication.java
...scheduler/src/main/java/com/neo/SchedulerApplication.java
+2
-2
spring-boot-scheduler/src/test/java/com/neo/SchedulerApplicationTests.java
...uler/src/test/java/com/neo/SchedulerApplicationTests.java
+1
-1
未找到文件。
README.md
浏览文件 @
ed67c898
...
...
@@ -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
)
...
...
spring-boot-scheduler/pom.xml
浏览文件 @
ed67c898
...
...
@@ -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>
...
...
spring-boot-scheduler/src/main/java/com/neo/Application.java
→
spring-boot-scheduler/src/main/java/com/neo/
Scheduler
Application.java
浏览文件 @
ed67c898
...
...
@@ -6,9 +6,9 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@EnableScheduling
public
class
Application
{
public
class
Scheduler
Application
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Application
.
class
,
args
);
SpringApplication
.
run
(
Scheduler
Application
.
class
,
args
);
}
}
spring-boot-scheduler/src/test/java/com/neo/ApplicationTests.java
→
spring-boot-scheduler/src/test/java/com/neo/
Scheduler
ApplicationTests.java
浏览文件 @
ed67c898
...
...
@@ -7,7 +7,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
public
class
ApplicationTests
{
public
class
Scheduler
ApplicationTests
{
@Test
public
void
contextLoads
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录