gpt4 book ai didi

java - 我通过intellij idea运行Kettle 8.3源,无法实例化类org.pentaho.di.engine.ui.RunConfigurationLifecycleListener

转载 作者:行者123 更新时间:2023-12-02 09:56:06 28 4
gpt4 key购买 nike

我通过IntelliJ idea运行Kettle 8.3源码,无法实例化类org.pentaho.di.engine.ui.RunConfigurationLifecycleListener,java版本是JDK8,我可以使用maven build install成功编译可执行应用程序,但我无法直接通过idea IDE运行它。

2019/05/06 14:33:03 - General - ERROR (version Unknown, build 0 from 2019/05/06 14:32:32.256 by Administrator) : Unexpected error loading class for plugin 
2019/05/06 14:33:03 - General - ERROR (version Unknown, build 0 from 2019/05/06 14:32:32.256 by Administrator) : org.pentaho.di.core.exception.KettlePluginException:
2019/05/06 14:33:03 - General - Unable to instantiate class
2019/05/06 14:33:03 - General - org.pentaho.di.engine.ui.RunConfigurationLifecycleListener
2019/05/06 14:33:03 - General -
2019/05/06 14:33:03 - General - at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:501)
2019/05/06 14:33:03 - General - at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:210)
2019/05/06 14:33:03 - General - at org.pentaho.di.core.Props.<init>(Props.java:233)
2019/05/06 14:33:03 - General - at org.pentaho.di.ui.core.PropsUI.<init>(PropsUI.java:176)
2019/05/06 14:33:03 - General - at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:129)
2019/05/06 14:33:03 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:687)
2019/05/06 14:33:03 - General - Caused by: java.lang.InstantiationException: org.pentaho.di.engine.ui.RunConfigurationLifecycleListener
2019/05/06 14:33:03 - General - at java.lang.Class.newInstance(Class.java:427)
2019/05/06 14:33:03 - General - at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:496)
2019/05/06 14:33:03 - General - ... 5 more
2019/05/06 14:33:03 - General - Caused by: java.lang.NoSuchMethodException: org.pentaho.di.engine.ui.RunConfigurationLifecycleListener.<init>()
2019/05/06 14:33:03 - General - at java.lang.Class.getConstructor0(Class.java:3082)
2019/05/06 14:33:03 - General - at java.lang.Class.newInstance(Class.java:412)
2019/05/06 14:33:03 - General - ... 6 more
2019/05/06 14:33:03 - General - ERROR (version Unknown, build 0 from 2019/05/06 14:32:32.256 by Administrator) : Unexpected error loading class for plugin
2019/05/06 14:33:03 - General - ERROR (version Unknown, build 0 from 2019/05/06 14:32:32.256 by Administrator) : org.pentaho.di.core.exception.KettlePluginException:
.
.
.
.
2019/05/06 14:33:26 - General - ERROR (version Unknown, build 0 from 2019/05/06 14:32:32.256 by Administrator) : Error starting Spoon shell
2019/05/06 14:33:26 - General - ERROR (version Unknown, build 0 from 2019/05/06 14:32:32.256 by Administrator) : java.lang.NullPointerException
2019/05/06 14:33:26 - General - at org.pentaho.di.core.extension.ExtensionPointMap.callExtensionPoint(ExtensionPointMap.java:151)
2019/05/06 14:33:26 - General - at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:45)
2019/05/06 14:33:26 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9189)
2019/05/06 14:33:26 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:709)

最佳答案

将项目设置中的 maven 更改为与从命令行构建它时使用的相同。之后我遇到了不同的 ClassNotFound 异常,但在不同模块中更改 pom.xml 允许我通过 IDE 启动 Spoon

关于java - 我通过intellij idea运行Kettle 8.3源,无法实例化类org.pentaho.di.engine.ui.RunConfigurationLifecycleListener,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56000025/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com