Java Pentaho-Maven依赖项
我最近更新了一个使用scala的项目,并决定将我的依赖项(包括使用Kettle的ETL过程)从Pentaho5.4迁移到Maven。然而,当我使用javascript运行转换时,我不断收到一个错误,告诉我函数不存在。我的具体错误如下。如何让我的转换使用Maven适当地运行JS Pentaho的当前POM依赖关系Java Pentaho-Maven依赖项,java,maven,pom.xml,pentaho,Java,Maven,Pom.xml,Pentaho,我最近更新了一个使用scala的项目,并决定将我的依赖项(包括使用Kettle的ETL过程)从Pentaho5.4迁移到Maven。然而,当我使用javascript运行转换时,我不断收到一个错误,告诉我函数不存在。我的具体错误如下。如何让我的转换使用Maven适当地运行JS Pentaho的当前POM依赖关系 <dependency> <groupId>pentaho-kettle</groupId> &
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-core</artifactId>
<version>5.4.0.4-149</version>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-db</artifactId>
<version>4.4.3.5-C183</version>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-ui-swt</artifactId>
<version>5.4.0.4-149</version>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-engine</artifactId>
<version>5.4.0.4-149</version>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-dbdialog</artifactId>
<version>5.4.0.4-149</version>
</dependency>
<dependency>
<groupId>pentaho-library</groupId>
<artifactId>libformula</artifactId>
<version>5.4.0.1-130</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.4-1202-jdbc42</version>
</dependency>
<dependency>
<groupId>pentaho-library</groupId>
<artifactId>libformula</artifactId>
<version>5.4.0.1-130</version>
</dependency>
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.7R3</version>
</dependency>
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>2.5.16</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs2</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.12</version>
</dependency>
我只是想把它取下来,因为我讨厌回答我自己的问题,但这是一个比我自己更为一致的问题,实际上已经出现在Pentaho罚单系统中,没有解决方案。答案是删除通过Kettle核心依赖项下载的某个jar。显然,蜡染js会引起问题
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-core</artifactId>
<version>5.4.0.4-149</version>
<exclusions>
<exclusion>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-js</artifactId>
</exclusion>
</exclusions>
</dependency>
五氢水壶
壶芯
5.4.0.4-149
org.apache.xmlgraphics
蜡染js
我本来打算把它取下来,因为我讨厌回答我自己的问题,但这是一个比我更多的问题,实际上已经出现在Pentaho票务系统中,没有解决。答案是删除通过Kettle核心依赖项下载的某个jar。显然,蜡染js会引起问题
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-core</artifactId>
<version>5.4.0.4-149</version>
<exclusions>
<exclusion>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-js</artifactId>
</exclusion>
</exclusions>
</dependency>
五氢水壶
壶芯
5.4.0.4-149
org.apache.xmlgraphics
蜡染js