--报错

org.pentaho.di.core.exception.KettlePluginException: 
Unable to read plugin xml file: {0}:
Type org.pentaho.di.core.encryption.TwoWayPasswordEncoderInterface not present


    at org.pentaho.di.core.plugins.BasePluginType.registerPluginFromXmlResource(BasePluginType.java:568)
    at org.pentaho.di.core.plugins.BasePluginType.registerPlugins(BasePluginType.java:264)
    at org.pentaho.di.core.plugins.BasePluginType.registerNatives(BasePluginType.java:226)
    at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:183)
    at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistry.java:605)

--原因 kettle9.版本没有这个接口TwoWayPasswordEncoderInterface,

需要导入pentaho-encryption-support-9.3.0.0-428.jar

 --解决

 1、pom文件增加

<dependency>
    <groupId>org.pentaho</groupId>
    <artifactId>pentaho-encryption-support</artifactId>
    <version>9.3.0.0-428</version>
</dependency>

2、输入指令cmd:手动导入.jar至本地maven库【文件位置 D:\1\文件.jar】

mvn install:install-file -Dfile=D:\1\pentaho-encryption-support-9.3.0.0-428.jar -DgroupId=pentaho-kettle -DartifactId=pentaho-encryption-support -Dversion=9.3.0.0-428 -Dpackaging=jar
 

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐