本地编译WEBSPOON9.0源码实操(9.0.0.0-423版本)

WebSpoon,是kettle的web版本,可以直接通过tomcat部署并且在浏览器访问,也可以集成到自己的web系统。

一、拉代码

仓库地址: https://github.com/HiromuHota/pentaho-kettle

复制代码
git clone https://github.com/HiromuHota/pentaho-kettle.git

settings.xml为官网的配置,放在用户目录下 /.m2 中,添加自己需要的配置即可

本地构建以下依赖库:

pentaho-xul-swt

复制代码
git clone -b webspoon-9.0 https://github.com/HiromuHota/pentaho-commons-xul.git
cd pentaho-commons-xul
mvn clean install -pl swt -DskipTests

rap

拉取代码后,进入 rap/releng/org.eclipse.rap.build 目录修改 pom.xml 文件, 找到 properties 标签

将 jetty-repo.url 标签值改为 https://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.4.44.v20210927/

将 rap-extra-repo.url 标签值改为 https://download.eclipse.org/rt/rap/base-platforms/3.14/extra-dependencies/

复制代码
git clone -b webspoon-3.12.0 https://github.com/HiromuHota/rap.git
cd rap
mvn clean install -DskipTests

pentaho-vfs-browser

复制代码
git clone -b webspoon-9.0 https://github.com/HiromuHota/apache-vfs-browser.git
cd apache-vfs-browser
mvn clean install -DskipTests

以上操作结束后,去pentaho-kettle根目录 mvn clean install -DskipTests 构建项目

构建成功后可在 assemblies/client/target 目录下找到 spoon.war 部署包

构建会有很多jar包找不到的情况,可以将正常下载的pdi的包安装到本地仓库,如下图,都是我手动安装到本地仓库的包

二、部署

spoon.war 放入 tomcat/webapps 目录下

system plugins 目录放入 tomcat/bin

启动 tomcat, 访问ip:端口/spoon/spoon既可访问到webspoon

三、常见访问问题

①、webSpoon没有connection: webSpoon页面右上角没有connection按钮

解决办法:

1,第一次运行

如第一次运行页面上就没有connection按钮,请将客户端plugins,system目录拷贝到startup.bat(tomcat启动脚本)同级目录

2、之前可以连接可以,增加了一个之后就打不开

请检查当前用户目录下.kettle/目录中repositories.xml文件中是否有中文

②、webSpoon保存转圈圈: webSpoon保存新的转换的时候一直在转圈圈

解决办法:

在执行tomcat时,添加转义支持,然后重启webSpoon的tomcat即可

复制代码
vim tomcat/conf/catalina.properties
#在最后添加两行配置
tomcat.util.http.parser.HttpParser.requestTargetAllow=|{}
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
相关推荐
杼蛘25 天前
XXL-Job工具使用操作记录
linux·windows·python·jdk·kettle·xxl-job
池塘水悠悠1 个月前
kettle 变量-大坑
etl·kettle·kettel变量
zhangjin12225 个月前
kettle插件-kettle MinIO插件,轻松解决文件上传到MinIO服务器
kettle·kettle教程·kettle插件·kettle minio插件·kettle oss插件
zhangjin12225 个月前
kettle插件-kettle http client plus插件,轻松解决https接口无法调用&文件流下载问题
大数据·http·https·etl·kettle·kettle教程·kettle插件
zhangjin12226 个月前
kettle插件-kettle数据挖掘ARFF插件
大数据·人工智能·数据挖掘·kettle·kettle教程·kettle数据挖掘插件
qq_214225877 个月前
基于kettle实现数据清洗及数据同步
kettle·数据清洗
RestCloud9 个月前
2025常用的ETL 产品推荐:助力企业激活数据价值
数据仓库·apache·etl·kettle·数据集成·ibm·informatica
敲敲敲-敲代码9 个月前
【Kettle安装】Kettle安装过程, 电脑已安装java23,安装Kettle 出现报错:尝试启动 Java 虚拟机(JVM)时失败解决方法
java·kettle
遇码9 个月前
阿里开源的免费数据集成工具——DataX
大数据·开源·kettle·datax·数据集成·flinkcdc·seatunnel