[KP]解决mongodb input插件加载问题
症状
2021-10-08 17:54:36.846 - [BASIC] mongodb_input - 为了转换解除补丁开始 [mongodb_input]
2021-10-08 17:54:36.986 - [ERROR] MongoDB input.0 - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : Can't run transformation due to plugin missing
2021-10-08 17:54:36.986 - [ERROR] MongoDB input.0 - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : 错误初始化步骤[MongoDB input]
2021-10-08 17:54:36.986 - [ERROR] mongodb_input - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : 步骤 [MongoDB input.0] 初始化失败!
2021-10-08 17:54:36.986 - [ERROR] mongodb_input - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : 错误被检测到!
参考资料
解决
-
复制data-integration\system\karaf\system\pentaho目录下的两个目录至kettle-pack/plugins下
- pentaho-mongodb-plugin
- pentaho-mongo-utils
-
项目添加依赖:
<dependency> <groupId>pentaho</groupId> <artifactId>pentaho-mongodb-plugin</artifactId> <version>${kettle.version}</version> </dependency> <dependency> <groupId>pentaho</groupId> <artifactId>pentaho-mongo-utils</artifactId> <version>${kettle.version}</version> </dependency>或直接复制以上依赖jar包至kettle-pack/tomcat/lib目录下

浙公网安备 33010602011771号