spring-boot执行器example项目取消log4j依赖

v1.7
xueli.xue 8 years ago
parent fa9fac3932
commit 90e1f90859

@ -99,9 +99,10 @@ XXL-JOB是一个轻量级分布式任务调度框架其核心设计目标是
![输入图片说明](https://static.oschina.net/uploads/img/201704/25151032_nrJN.png "在这里输入图片标题")
### 1.5 环境
- Servlet/JSP Spec3.1/2.3
- JDK1.7+
- Tomcat8.5.x+/Jetty9.2+
- Servlet/JSP Spec3.1/2.3
- Tomcat8.5.x/Jetty9.2
- Spring-boot1.3.8/Spring4.x
- Mysql5.6+
- Maven3+

@ -15,7 +15,6 @@
<properties>
<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>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -37,20 +36,10 @@
</dependencyManagement>
<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>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j</artifactId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- spring-boot-starter-web (提供了对web的支持包含了spring webmvc和tomcat等web开发的特性) -->

@ -1,19 +1,17 @@
package com.xxl.job.executor.test;
import com.xxl.job.executor.Application;
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)
@WebAppConfiguration
@WebAppConfiguration*/
/*@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class ,webEnvironment= SpringBootTest.WebEnvironment.DEFINED_PORT)*/
public class XxlJobExecutorExampleBootApplicationTests {
@Test
public void contextLoads() {
public void test() {
}
}
Loading…
Cancel
Save