Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
90e1f908
authored
Apr 28, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
spring-boot执行器example项目取消log4j依赖
parent
fa9fac39
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
22 deletions
README.md
xxl-job-executor-springboot-example/pom.xml
xxl-job-executor-springboot-example/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java
README.md
View file @
90e1f908
...
@@ -99,9 +99,10 @@ XXL-JOB是一个轻量级分布式任务调度框架,其核心设计目标是
...
@@ -99,9 +99,10 @@ XXL-JOB是一个轻量级分布式任务调度框架,其核心设计目标是


### 1.5 环境
### 1.5 环境
-
Servlet/JSP Spec:3.1/2.3
-
JDK:1.7+
-
JDK:1.7+
-
Tomcat:8.5.x+/Jetty9.2+
-
Servlet/JSP Spec:3.1/2.3
-
Tomcat:8.5.x/Jetty9.2
-
Spring-boot:1.3.8/Spring4.x
-
Mysql:5.6+
-
Mysql:5.6+
-
Maven:3+
-
Maven:3+
...
...
xxl-job-executor-springboot-example/pom.xml
View file @
90e1f908
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
<properties>
<properties>
<xxl-job.version>
1.7.0-SNAPSHOT
</xxl-job.version>
<xxl-job.version>
1.7.0-SNAPSHOT
</xxl-job.version>
<!--<spring-boot.version>1.5.3.RELEASE</spring-boot.version>-->
<spring-boot.version>
1.3.8.RELEASE
</spring-boot.version>
<spring-boot.version>
1.3.8.RELEASE
</spring-boot.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
...
@@ -37,20 +36,10 @@
...
@@ -37,20 +36,10 @@
</dependencyManagement>
</dependencyManagement>
<dependencies>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
-log4j
</artifactId>
<artifactId>
spring-boot-starter
</artifactId>
</dependency>
</dependency>
<!-- spring-boot-starter-web (提供了对web的支持,包含了spring webmvc和tomcat等web开发的特性) -->
<!-- spring-boot-starter-web (提供了对web的支持,包含了spring webmvc和tomcat等web开发的特性) -->
...
...
xxl-job-executor-springboot-example/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java
View file @
90e1f908
package
com
.
xxl
.
job
.
executor
.
test
;
package
com
.
xxl
.
job
.
executor
.
test
;
import
com.xxl.job.executor.Application
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.boot.test.SpringApplicationConfiguration
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
org.springframework.test.context.web.WebAppConfiguration
;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
/*
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = Application.class)
@SpringApplicationConfiguration(classes = Application.class)
@WebAppConfiguration
@WebAppConfiguration*/
/*@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class ,webEnvironment= SpringBootTest.WebEnvironment.DEFINED_PORT)*/
public
class
XxlJobExecutorExampleBootApplicationTests
{
public
class
XxlJobExecutorExampleBootApplicationTests
{
@Test
@Test
public
void
contextLoads
()
{
public
void
test
()
{
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment