我是靠谱客的博主 默默汉堡,这篇文章主要介绍kettle 报错The processing instruction target matching “[xX][mM][lL]“ is not allowed.,现在分享给大家,希望可以做个参考。

操作:windows运行正常,上传到linux服务器后报错:

报错时间:2021.10.20

复制代码
1
2
3
4
5
Error reading information from input stream The processing instruction target matching "[xX][mM][lL]" is not allowed. org.pentaho.di.core.exception.KettleXMLException: Error reading information from input stream The processing instruction target matching "[xX][mM][lL]" is not allowed.

意思就是说文件内容有问题,不符合xml规范。为什么不符合xml规范了?

因为ktr转换文件是xml格式的。我们打开转换文件*.ktr看看:

 于是我在Linux中打开该文件发现了多了些东西,但改了还是效果。于是在本地打开复制,粘贴到ktr文件中,哎...解决了.

解决方案:

        1.Linux中新建*.ktr文件 或清空原来的文件如abc.ktr

        2.清空命令: > abc.ktr

        3.进入编辑模式

        4.复制windows中的abc.ktr 内容 粘贴进去。

        5.保存退出

最后

以上就是默默汉堡最近收集整理的关于kettle 报错The processing instruction target matching “[xX][mM][lL]“ is not allowed.的全部内容,更多相关kettle内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(66)

评论列表共有 0 条评论

立即
投稿
返回
顶部