excel导入导出bug(poi版本冲突)
This commit is contained in:
parent
fb41124eee
commit
a1b250e782
|
|
@ -31,18 +31,6 @@
|
|||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-quartz</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.json</groupId>
|
||||
<artifactId>json</artifactId>
|
||||
<version>20160810</version>
|
||||
</dependency>
|
||||
<!--丝袜哥-->
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>1.5.21</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- kettle核心依赖 -->
|
||||
<dependency>
|
||||
|
|
@ -54,6 +42,20 @@
|
|||
<groupId>pentaho-kettle</groupId>
|
||||
<artifactId>kettle-engine</artifactId>
|
||||
<version>${kettle-version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml-schemas</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>pentaho-kettle</groupId>
|
||||
|
|
@ -113,7 +115,7 @@
|
|||
<artifactId>jtds</artifactId>
|
||||
<version>1.2.4</version>
|
||||
</dependency>
|
||||
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi</artifactId>
|
||||
|
|
@ -128,13 +130,13 @@
|
|||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml-schemas</artifactId>
|
||||
<version>3.17</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
</dependency>-->
|
||||
<!-- <dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- <dependency>
|
||||
</dependency>-->
|
||||
<!-- <dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>-->
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
package com.kone;
|
||||
|
||||
import com.ruoyi.kettle.tools.KettleUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
public class Testsetset {
|
||||
|
||||
|
||||
@Test
|
||||
public void test1() throws Exception {
|
||||
KettleUtil.KettleEnv.init();
|
||||
KettleUtil util=new KettleUtil();
|
||||
util.callTrans("/","text",null,null);
|
||||
}
|
||||
}
|
||||
12
pom.xml
12
pom.xml
|
|
@ -161,8 +161,18 @@
|
|||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
<version>${poi.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.xmlbeans</groupId>
|
||||
<artifactId>xmlbeans</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlbeans</groupId>
|
||||
<artifactId>xmlbeans</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- velocity代码生成使用模板 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
|
|
|
|||
Loading…
Reference in New Issue