jar包下载地址:https://nexus.pentaho.org/#browse/search
kettle仓库地址,两种:
<mirrors>
<mirror>
<id>nexus-pentaho</id>
<mirrorOf>central</mirrorOf>
<name>Nexus pentaho</name>
<url>https://nexus.pentaho.org/content/repositories/omni/</url>
</mirror>
</mirrors>
<repositories><!-- kettle中央仓库 -->
<repository><!-- kettle中央仓库 -->
<id>pentaho-releases</id>
<name>Kettle</name>
<!-- <url>https://nexus.pentaho.org/content/groups/omni/</url> -->
<url>https://nexus.pentaho.org/repository/omni/</url>
</repository>
</repositories>
问题如下:
java调用.ktr文件时:Plugin type - Unable to list jar files in plugin folder 'C:\Users\YF-0002.kettle\plugins' Caused by: java.lang.NullPointerException
处理方案:
更换commons-vfs2.jar版本
问题如下:
Root Cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
处理方案:
去除kettle中本身依赖与tomcat中冲突的jar,本次冲突jar为jsp-api.jar
处理方式如下
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-engine</artifactId>
<version>9.1.0.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
</exclusion>
</exclusions>
</dependency>
更换commons-vfs2.jar版本
以下搭配的相关jar可正常执行
- kettle-core-9.1.0.0-SNAPSHOT.jar
- kettle-dbdialog-9.1.0.0-SNAPSHOT.jar
- kettle-engine-9.1.0.0-SNAPSHOT.jar
- kettle-ui-swt-9.1.0.0-SNAPSHOT.jar
- metastore-9.1.0.0-SNAPSHOT.jar
- pentaho-vfs-browser-9.1.0.0-SNAPSHOT.jar
- commons-io-1.3.2.jar
- commons-vfs2-2.3.jar
- guava.18.0.jar