kettle资源库 Could not read from “xxx” because it is not a file.
kettle使用资源库运行脚本是,提示Could not read from "xxx" because it is not a file.
将windows上的配置文件【repositories.xml】上传到服务器上:
windows路径一般是在:C:\Users\Administrator.kettle
上传到linux:/root/.kettle
也可以直接复制 repositories.xml 中的内容到服务器上粘贴
vim /root/.kettle/repositories.xml #编辑
##粘贴完成
:wq #保存并退出
提示:配置资源库时最好不要使用中文,不然可能会出现乱码
再次测试脚本执行
还是报错,不过错误提示不同。
重启一下carte
./carte.sh localhost 8081
重新执行脚本(似乎可以不用重启carte)
可以看到执行成功了!