`
cleaneyes
  • 浏览: 342524 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Kettle3.2的Webstart

阅读更多

在尝试Kettle的webstart方式运行时,遇到了一点问题,最终解决。

 

一、下载kettle

从http://sourceforge.net/projects/pentaho/files/下载pdi3.2(也就是kettle)。

 

二、ant webstart

解压后等到kettle trunk目录,在cmd下,直接ant webstart

如果出现编译错误,是因为没有把当前路径加到classpath。

 

再尝试,会出现以下错误:

signjar] Signing JAR: G:\Work\Kettle\webstart\libext\salesforce\saaj.jar
  [signjar] 警告: 签名者证书将在六个月内过期。
  [signjar] Signing JAR: G:\Work\Kettle\webstart\libext\salesforce\salesforce-1.0.jar
  [signjar] jarsigner: 无法对 jar 进行签名 : java.util.zip.ZipException: duplicate entry: com/sforce/soap/partner/AssignmentRuleHeader.class BUILD FAILED

 

产生的原因为libext\salesforce\salesforce-1.0.jar 里面有重复的文件,不知道为什么会这样,删除重复的文件后(可先用WinRAR解缩,再用压缩),就正常了。

 

三、部署

将生成的war包,改名为了kettle.war,放到Tomcat的webapps下。

访问http://localhost:8080/kettle,就可以页面上看到一个链接,点击链接将开始下载jnlp依赖的jar文件。

如果你使用的Tomcat是6.0之前的,请在%tomcat_home%/conf/web.xml文件中,添加

 <mime-mapping>
        <extension>jnlp</extension>
        <mime-type>application/x-java-jnlp-file</mime-type>
    </mime-mapping>

 

下载过程中,会出现一个“jar签名不一致 ”的错误,产生的原因是spoon.jnlp依赖到的部分jar,已经有其他厂商签名过了。

请删除spoon.jnlp中这段代码:

<jar href="libswt/common.jar"/>
  <jar href="libswt/commands.jar"/>
  <jar href="libswt/jface.jar"/>
  <jar href="libswt/runtime.jar"/>

 

继续尝试,还会提示找不到Spoon类 ,需要修改spoon.jnlp,指定Main文件所在的jar

 <jar href="lib/kettle-ui-swt.jar" main="true"/>
 

继续尝试,已经可以完全下载,出现安全提示,点击“运行”之后,屏幕闪了一下,就没有任何显示了。

 

启用Java 控制台,发现错误如下:

Exception in thread "javawsApplicationMain" java.lang.NoClassDefFoundError: org/pentaho/di/core/database/DatabaseMeta
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getMethod0(Unknown Source)
 

因为没有导入kettle-db.jar,修改spoon.jnpl

 <jar href="lib/kettle-core.jar"/>
  <jar href="lib/kettle-ui-swt.jar" main="true"/>
  <jar href="lib/kettle-engine.jar"/>
   <jar href="lib/kettle-db.jar"/>
 

还是会有异常出现说找不到图片文件。

NFO  27-08 15:15:50,734 - Using "C:\DOCUME~1\administator\LOCALS~1\Temp\vfs_cache" as temporary files store.
ERROR 27-08 15:15:51,234 - Spoon - Fatal error : java.lang.RuntimeException: Unable to load image with name [ui/images/spoon.ico]
ERROR 27-08 15:15:51,234 - Spoon - java.lang.RuntimeException: Unable to load image with name [ui/images/spoon.ico]
	at org.pentaho.di.ui.util.ImageUtil.getImageAsResource(ImageUtil.java:77)
	at org.pentaho.di.ui.core.dialog.Splash.<init>(Splash.java:48)
	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:380)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
 

将源文件的ui目录复制到桌面,再运行,窗口已经可以显示,但还是有错误信息:

ERROR 27-08 15:21:05,062 - Kettle - Unable to create job entry from plugin [org.pentaho.di.job.JobPlugin: SSH2_GET(NATIVE)]
ERROR 27-08 15:21:05,062 - Kettle - org.pentaho.di.core.exception.KettleStepLoaderException: 
Unexpected error loading class
com/trilead/ssh2/ServerHostKeyVerifier

	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:258)
	at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:678)
	at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:322)
	at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:256)
	at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:273)
	at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:100)
	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:387)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/trilead/ssh2/ServerHostKeyVerifier
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:211)
	... 17 more

ERROR 27-08 15:21:05,062 - Kettle - Unable to create job entry from plugin [org.pentaho.di.job.JobPlugin: SSH2_PUT(NATIVE)]
ERROR 27-08 15:21:05,078 - Kettle - org.pentaho.di.core.exception.KettleStepLoaderException: 
Unexpected error loading class
com/trilead/ssh2/ServerHostKeyVerifier

	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:258)
	at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:678)
	at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:322)
	at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:256)
	at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:273)
	at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:100)
	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:387)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/trilead/ssh2/ServerHostKeyVerifier
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:211)
	... 17 more

ERROR 27-08 15:21:05,078 - Kettle - Unable to create job entry from plugin [org.pentaho.di.job.JobPlugin: FTP_DELETE(NATIVE)]
ERROR 27-08 15:21:05,078 - Kettle - org.pentaho.di.core.exception.KettleStepLoaderException: 
Unexpected error loading class
com/trilead/ssh2/ProxyData

	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:258)
	at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:678)
	at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:322)
	at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:256)
	at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:273)
	at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:100)
	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:387)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/trilead/ssh2/ProxyData
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:211)
	... 17 more

ERROR 27-08 15:21:05,218 - Kettle - Unable to create job entry from plugin [org.pentaho.di.job.JobPlugin: SNMP_TRAP(NATIVE)]
ERROR 27-08 15:21:05,218 - Kettle - org.pentaho.di.core.exception.KettleStepLoaderException: 
Unexpected error loading class
org/snmp4j/TransportMapping

	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:258)
	at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:678)
	at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:322)
	at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:256)
	at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:273)
	at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:100)
	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:387)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/snmp4j/TransportMapping
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.pentaho.di.job.JobEntryLoader.getJobEntryClass(JobEntryLoader.java:211)
	... 17 more

INFO  27-08 15:21:05,640 - Spoon - 主窗口被创建
INFO  27-08 15:21:05,656 - Spoon - 要求资源库
INFO  27-08 15:21:05,718 - RepositoriesMeta - Reading repositories XML file: C:\Documents and Settings\administrator\.kettle\repositories.xml
[Fatal Error] repositories.xml:6:69: Invalid byte 2 of 2-byte UTF-8 sequence.
ERROR 27-08 15:21:05,765 - RepositoriesMeta - Error reading information from file : org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.
ERROR 27-08 15:21:05,765 - RepositoriesMeta - org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
	at org.pentaho.di.repository.RepositoriesMeta.readData(RepositoriesMeta.java:167)
	at org.pentaho.di.ui.repository.dialog.RepositoriesDialog.<init>(RepositoriesDialog.java:132)
	at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:5416)
	at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5548)
	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:412)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

 

 

 

 

分享到:
评论
3 楼 xiang1jia 2011-03-22  
为什么要把“将源文件的ui目录复制到桌面”? 如果从其他电脑上下载完KETTLE的JAR后,岂不是也是要把“源文件的ui目录复制到桌面”? 这样的webstart也就没什么意义了吧?不知道你最后是怎么解决的?能否告知?
2 楼 high5 2010-12-29  
1、少引入几个包,除文件不能读取的错误外,其余均解决。
剩余问题:

(1)为什么默认要找桌面的目录?
1 楼 high5 2010-12-29  
我现在遇到类似的问题:
1、我下载的是4.1.1版本,不匹配的jar已经设置完成
2、所有的jar包都为kettle签名了
3、之后就没有反应,至少是在tomcat控制台看不见报错信息,在C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\log 处找到javaws23649.trace
报错信息如下:
==========================error log start=============================
INFO  29-12 09:16:28,218 - Using "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\vfs_cache" as temporary files store.
INFO  29-12 09:16:29,000 - Spoon - Logging goes to file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/spoon_4379a3f0-12e9-11e0-9c21-9b9d0bcc3a52.log
java.lang.NoClassDefFoundError: org/pentaho/di/palo/core/DimensionField
at org.pentaho.di.trans.steps.palo.cellinput.PaloCellInputMeta.<init>(PaloCellInputMeta.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:360)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadStepImages(GUIResource.java:555)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:372)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.pentaho.di.palo.core.DimensionField
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 24 more
ERROR 29-12 09:16:30,234 - GUIResource - Unable to find required step image file or image format not supported (e.g. interlaced) [ui/images/PaloCellInput.png :
ERROR 29-12 09:16:30,234 - GUIResource - org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
org/pentaho/di/palo/core/DimensionField
org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:381)
org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
org.pentaho.di.ui.core.gui.GUIResource.loadStepImages(GUIResource.java:555)
org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:372)
org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.sun.javaws.Launcher.executeApplication(Unknown Source)
com.sun.javaws.Launcher.executeMainClass(Unknown Source)
com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
com.sun.javaws.Launcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

java.lang.NoClassDefFoundError: org/pentaho/di/palo/core/DimensionField
at org.pentaho.di.trans.steps.palo.celloutput.PaloCellOutputMeta.<init>(PaloCellOutputMeta.java:70)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:360)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadStepImages(GUIResource.java:555)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:372)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.pentaho.di.palo.core.DimensionField
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 24 more
ERROR 29-12 09:16:30,234 - GUIResource - Unable to find required step image file or image format not supported (e.g. interlaced) [ui/images/PaloCellOutput.png :
ERROR 29-12 09:16:30,234 - GUIResource - org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
org/pentaho/di/palo/core/DimensionField
org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:381)
org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
org.pentaho.di.ui.core.gui.GUIResource.loadStepImages(GUIResource.java:555)
org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:372)
org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.sun.javaws.Launcher.executeApplication(Unknown Source)
com.sun.javaws.Launcher.executeMainClass(Unknown Source)
com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
com.sun.javaws.Launcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

java.lang.NoClassDefFoundError: com/trilead/ssh2/ProxyData
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadStepImages(GUIResource.java:555)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:372)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.trilead.ssh2.ProxyData
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 19 more
ERROR 29-12 09:16:30,781 - GUIResource - Unable to find required step image file or image format not supported (e.g. interlaced) [ui/images/ssh.png :
ERROR 29-12 09:16:30,781 - GUIResource - org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
com/trilead/ssh2/ProxyData
org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:381)
org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
org.pentaho.di.ui.core.gui.GUIResource.loadStepImages(GUIResource.java:555)
org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:372)
org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.sun.javaws.Launcher.executeApplication(Unknown Source)
com.sun.javaws.Launcher.executeMainClass(Unknown Source)
com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
com.sun.javaws.Launcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

java.lang.NoClassDefFoundError: com/trilead/ssh2/ProxyData
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:801)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:373)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.trilead.ssh2.ProxyData
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 19 more
ERROR 29-12 09:16:31,937 - GUIResource - Unable to find required job entry image file [ui/images/FTPD.png] for id [FTP_DELETE] : org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
com/trilead/ssh2/ProxyData

java.lang.NoClassDefFoundError: org/snmp4j/TransportMapping
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:801)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:373)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.snmp4j.TransportMapping
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 19 more
ERROR 29-12 09:16:32,140 - GUIResource - Unable to find required job entry image file [ui/images/SNMP.png] for id [SNMP_TRAP] : org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
org/snmp4j/TransportMapping

java.lang.NoClassDefFoundError: com/trilead/ssh2/ProxyData
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:801)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:373)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.trilead.ssh2.ProxyData
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 19 more
ERROR 29-12 09:16:32,171 - GUIResource - Unable to find required job entry image file [ui/images/SHG.png] for id [SSH2_GET] : org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
com/trilead/ssh2/ProxyData

java.lang.NoClassDefFoundError: com/trilead/ssh2/ProxyData
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:801)
at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:373)
at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:307)
at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:324)
at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:103)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.trilead.ssh2.ProxyData
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 19 more
ERROR 29-12 09:16:32,171 - GUIResource - Unable to find required job entry image file [ui/images/SHP.png] for id [SSH2_PUT] : org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
com/trilead/ssh2/ProxyData

java.lang.NoClassDefFoundError: org/pentaho/ui/xul/swt/SwtXulLoader
at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:683)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.pentaho.ui.xul.swt.SwtXulLoader
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 11 more
ERROR 29-12 09:16:32,406 - Spoon - Fatal error : java.lang.NoClassDefFoundError: org/pentaho/ui/xul/swt/SwtXulLoader
ERROR 29-12 09:16:32,406 - Spoon - java.lang.NoClassDefFoundError: org/pentaho/ui/xul/swt/SwtXulLoader
org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:683)
org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:528)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.sun.javaws.Launcher.executeApplication(Unknown Source)
com.sun.javaws.Launcher.executeMainClass(Unknown Source)
com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
com.sun.javaws.Launcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

=====================error log end =========================
问题如下:
(1):\DOCUME~1\ADMINI~1\LOCALS~1\Temp\vfs_cache  这个目录应该是可以设置的,有人设置过这个目录吗
(2):org/pentaho/di/palo/core/DimensionField 对应哪个jar包
我在源码包中找了半天找不到啊,请问如何解决!

相关推荐

    Kettle 3.2使用说明书(中文清晰版)

    ### Kettle 3.2 使用说明书关键知识点 #### 概述 Kettle 是一款开源的数据集成工具,主要用于ETL(Extract-Transform-Load)操作,能够实现数据的抽取、清洗、转换以及加载等功能。Kettle 支持多种数据源,并且具有...

    Kettle 3.2使用说明书(中文清晰版)-【可复制】

    Kettle支持多种数据源,包括关系型数据库、文件系统、Web服务等,能实现数据清洗、转换、加载等多种任务。 二、Kettle 3.2的主要特性 1. 图形化工作环境:Kettle 3.2提供了一个直观的拖放界面,用户可以通过图形化...

    kettle3.2源码分析[整理].pdf

    Kettle 3.2 源码分析 Kettle 是一个开源的数据集成工具,它提供了一种灵活的方式来处理和转换数据。Kettle 3.2 是该工具的其中一个版本,本文档将对 Kettle 3.2 的源码进行分析,了解其内部的工作机理和实现细节。 ...

    Kettle3.2源代码分析

    《Kettle 3.2 源代码分析》 Kettle,全称为 Pentaho Data Integration (PDI),是一款强大的开源数据集成工具,以其灵活、高效和可扩展性在大数据处理领域备受推崇。本文将深入剖析Kettle 3.2版本的源代码,揭示其...

    Kettle 3.2使用说明书.pdf

    Kettle 3.2使用说明书.pdf Kettle 中文名称叫水壶,该项目的主程序员MATT 希望把各种数据放到一个壶里然后以 一种指定的格式流出。Kettle 主要包括四部分,分别为Chef,Spoon,Kitchen,Pan。 Kettle 提供一个图形...

    Kettle3.2使用手册.pdf

    Kettle 中文名称叫水壶,该项目的主程序员MATT 希望把各种数据放到一个壶里然后以 一种指定的格式流出。Kettle 主要包括四部分,分别为Chef,Spoon,Kitchen,Pan。 Kettle 提供一个图形用户界面Spoon,用来设计数据...

    Kettle3.2组件配置面板源代码分析[归类].pdf

    在Kettle 3.2中,JobEntry配置面板是Pentaho Data Integration(通常称为Kettle或Spoon)工具中的核心部分,它允许用户配置和定制各种作业步骤以构建ETL(提取、转换、加载)流程。这篇源代码分析主要集中在...

    kettle的web版.zip

    在这个场景中,我们讨论的是Kettle的Web版,即"webKettle",它将Kettle的功能扩展到了Web环境中,使得用户可以通过浏览器在线进行ETL操作。 首先,我们来详细了解一下Kettle。Kettle由社区驱动,提供了一系列的数据...

    【20200605】ETL kettle3.2 最新官方版本亲测etl3

    官网下载的资源,几k的速度下载了蛮久了,ETL3, 在windows7 下面安装的需要的包,jdk包和etl3的安装包自己放网盘了,下载地址分享给大家 pdi-ce-3.2.0-stable jdk-1_5_0-windows-i586

    Kettle源码(Web版)

    Web版的Kettle将这一功能扩展到了Web环境中,提供了更方便的远程访问和协作能力。 在"Kettle源码(Web版)"中,我们可以深入理解Kettle的工作原理和实现机制。源码分析有助于开发者定制自己的ETL解决方案,增强功能...

    kettle3.2.0

    Kettle是一款国外开源的ETL工具,纯java编写,可以在Window、Linux、Unix上运行,数据抽取高效稳定。 Kettle 中文名称叫水壶,该项目的主程序员MATT 希望把各种数据放到一个壶里,然后以一种指定的格式流出。

    kettle的web版本(webspoon)

    kettle的web版本,自己编译的war包,直接放到tomcat下运行,然后http://localhost:8080/spoon/spoon就可以访问 参考地址:https://github.com/HiromuHota/pentaho-kettle

    Kettle的Web端管理工具Kettle-Manager.zip

    kettle管理工具专门为kettle这款优秀的ETL工具开发的web端管理工具。项目简介kettle作为非常优秀的开源ETL工具得到了非常广泛的使用,一般的使用的都是使用客户端操作管理,但问题是当投入生产环境使用时,动辄上百...

    web应用集成kettle

    将kettle集成值web应用中,不再需打开kettle窗口运行,并通过spring自动任务进行数据抽取,数据库采用数据源(jndi)的方式进行管理。配置简单方便。(之前需要kettle打开其运行环境,并配置数据库连接的相关信息)

    kettle-manager集成web页面调度

    【Kettle Manager 集成Web页面调度】详解 Kettle,又称Pentaho Data Integration(PDI),是由Pentaho公司开发的一款强大的ETL(数据抽取、转换、加载)工具。Kettle Manager是Kettle的一部分,它提供了一个管理...

    基于kettle实现的web版数据集成平台,致力于提供web可拖拽的数据集成平台。.zip

    本项目基于Kettle实现了Web版的数据集成平台,旨在为用户提供一种直观、易用的界面,通过拖拽方式即可进行数据处理任务的构建。 首先,我们来看“数据采集”这个标签。数据采集是数据处理的第一步,它涉及从不同...

    web版kettle.rar

    【标题】"Web版Kettle"指的是基于网页的Kettle数据集成工具,它允许用户在浏览器环境中进行数据处理和转换工作。Kettle是Pentaho Data Integration(PDI)项目的一部分,提供了一种图形化的界面,用于设计、执行和...

    kettle的web版本,自己编译的war包,直接放到tomcat下运行,然后http://localhost:8080/web

    在标题和描述中提到的“kettle的web版本”,指的是Kettle的一种Web应用程序实现,让用户可以通过Web界面来管理和执行Kettle作业和转换。 这个web版本被称为Webspoon,是一个开源的、基于Java的Kettle客户端。...

    基于Java与Web技术的KettleWeb数据集成平台源码

    项目概述:KettleWeb数据集成平台是一款基于Java与Web技术的开源数据集成工具。此平台源码基于Kettle原生版本6.1.0.1开发,扩展了Web端操作功能,便于用户进行数据集成工作。 技术栈:项目主要采用Java语言进行开发...

Global site tag (gtag.js) - Google Analytics