kettle,csv转换excel报错

m0_47109048 2023-10-19 15:36:52

2023/10/19 14:30:54 - Spoon - Using legacy execution engine
2023/10/19 14:30:54 - Spoon - 转换已经打开.
2023/10/19 14:30:54 - Spoon - 正在打开转换 [test]...
2023/10/19 14:30:54 - Spoon - 开始执行转换.
2023/10/19 14:30:54 - test - 为了转换解除补丁开始  [test]
2023/10/19 14:30:54 - Excel输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Error opening new file
2023/10/19 14:30:54 - Excel输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : org.apache.commons.vfs2.FileSystemException: Could not create file "file:///C:/Program Files/pdi-ce-8.2.0.0-342/data-integration/file.xls".
2023/10/19 14:30:54 - Excel输出.0 -     at org.apache.commons.vfs2.provider.AbstractFileObject.createFile(AbstractFileObject.java:321)
2023/10/19 14:30:54 - Excel输出.0 -     at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:289)
2023/10/19 14:30:54 - Excel输出.0 -     at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.openNewFile(ExcelOutput.java:519)
2023/10/19 14:30:54 - Excel输出.0 -     at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.init(ExcelOutput.java:729)
2023/10/19 14:30:54 - Excel输出.0 -     at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69)
2023/10/19 14:30:54 - Excel输出.0 -     at java.lang.Thread.run(Thread.java:748)
2023/10/19 14:30:54 - Excel输出.0 - Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to "file:///C:/Program Files/pdi-ce-8.2.0.0-342/data-integration/file.xls".
2023/10/19 14:30:54 - Excel输出.0 -     at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1197)
2023/10/19 14:30:54 - Excel输出.0 -     at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1159)
2023/10/19 14:30:54 - Excel输出.0 -     at org.apache.commons.vfs2.provider.AbstractFileObject.createFile(AbstractFileObject.java:315)
2023/10/19 14:30:54 - Excel输出.0 -     ... 5 more
2023/10/19 14:30:54 - Excel输出.0 - Caused by: java.io.FileNotFoundException: C:\Program Files\pdi-ce-8.2.0.0-342\data-integration\file.xls (拒绝访问。)
2023/10/19 14:30:54 - Excel输出.0 -     at java.io.FileOutputStream.open0(Native Method)
2023/10/19 14:30:54 - Excel输出.0 -     at java.io.FileOutputStream.open(FileOutputStream.java:270)
2023/10/19 14:30:54 - Excel输出.0 -     at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
2023/10/19 14:30:54 - Excel输出.0 -     at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
2023/10/19 14:30:54 - Excel输出.0 -     at org.apache.commons.vfs2.provider.local.LocalFile.doGetOutputStream(LocalFile.java:223)
2023/10/19 14:30:54 - Excel输出.0 -     at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1193)
2023/10/19 14:30:54 - Excel输出.0 -     ... 7 more
2023/10/19 14:30:54 - Excel输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Couldn't open file file
2023/10/19 14:30:54 - Excel输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : 错误初始化步骤[Excel输出]
2023/10/19 14:30:54 - test - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : 步骤 [Excel输出.0] 初始化失败!
2023/10/19 14:30:54 - Spoon - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : test: preparing transformation execution failed
2023/10/19 14:30:54 - Spoon - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : org.pentaho.di.core.exception.KettleException: 
2023/10/19 14:30:54 - Spoon - 无法初始化至少一个步骤.  执行无法开始!
2023/10/19 14:30:54 - Spoon - 
2023/10/19 14:30:54 - Spoon - 
2023/10/19 14:30:54 - Spoon -     at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1272)
2023/10/19 14:30:54 - Spoon -     at org.pentaho.di.ui.spoon.trans.TransGraph$30.run(TransGraph.java:4287)
2023/10/19 14:30:54 - Spoon -     at java.lang.Thread.run(Thread.java:748)
2023/10/19 14:30:54 - test - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : 错误被检测到!
2023/10/19 14:30:54 - test - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : 错误被检测到!
 

...全文
242 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

7,393

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 数据仓库
社区管理员
  • 数据仓库
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧