错误:找不到或无法加载主类org.pentaho.di.ui.spoon.Spoon

在尝试部署ETL工具Kettle时,遇到错误:找不到或无法加载主类org.pentaho.di.ui.spoon.Spoon。通过重新下载源码和发行版,并对比检查lib下的jar包,发现可能存在的不全或错误导致问题。解决方法是删除build path中带×的jar包,重新导入。详细步骤包括下载pentaho-kettle 7.1.0.0-12的源码和相同版本的发行版,按照指定博客进行部署,确保所有依赖完整。

最近在看ETL工具kettle。部署的时候参考的是这篇博客:https://blog.youkuaiyun.com/zutsoft/article/details/52998148

编译运行的时候遇到了这个问题:错误:找不到或无法加载主类org.pentaho.di.ui.spoon.Spoon,

卡了好多天,后来通过重新下载源码,和发行版,重新部署之后,解决了,(可能是以前所用的发行版本中的lib文件下的jar包不全或者有错误,如果有错误,调出来build path中的libraries,把其中带×的jar包删除,再重新导入即可)

源码下载:

  1. 下载pentaho-kettle7.1.0.0-12源码,网址:https://github.com/pentaho/pentaho-kettle/tree/7.1.0.0-R

 

(注:需用火狐或谷歌浏览器)

 

2.下载相应版本的kettle发行版,网址:https://community.hitachivantara.com/docs/DOC-1009855?tdsourcetag=s_pctim_aiomsg

 

两个下载的都是7.1.0.0-R版本的,再按照以上博客网址部署源码,即可运行

 

kettle 资源库 运行报错java.lang.RuntimeException: org.pentaho.di.core.exception.KettleException: 转换无法打开 [dorisTest] 一个数据库错误发生在从资源库文件读取转换时 Unexpected error reading step information from the repository null at org.pentaho.di.ui.spoon.trans.TransGraph.createLegacyTrans(TransGraph.java:5096) at org.pentaho.di.ui.spoon.trans.TransGraph.start(TransGraph.java:3872) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:926) at org.pentaho.di.ui.spoon.Spoon$28$1.run(Spoon.java:8753) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4001) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3629) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1432) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:8160) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9542) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:722) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: org.pentaho.di.core.exception.KettleException:
03-18
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值