操作:windows运行正常,上传到linux服务器后报错:
报错时间:2021.10.20
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文件中,哎...解决了.
解决方案:新建*.ktr文件 或清空原来的文件命令: > abc.ktr 编辑模式再粘贴进去。


![kettle 报错The processing instruction target matching “[xX][mM][lL]“ is not allowed. kettle 报错The processing instruction target matching “[xX][mM][lL]“ is not allowed.](http://www.mshxw.com/aiimages/31/338745.png)
