Caused by: org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Parse: /tmp/flink-dds-970855244076931603.txt: 14: Expecting a value but got wrong token: 'control character 0x1' (JSON does not allow unescaped control character 0x1 in quoted strings, use a backslash escape) (if you intended 'control character 0x1' (JSON does not allow unescaped control character 0x1 in quoted strings, use a backslash escape) to be part of a key or string value, try enclosing the key or value in double quotes, or you may be able to rename the file .properties rather than .conf) at org.apache.seatunnel.shade.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:201)这个报错如何解决
时间: 2024-03-29 17:39:45 浏览: 152
Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.Transformer异常
5星 · 资源好评率100%
这个报错是由于配置文件中出现了不合法的字符引起的。具体来说,是在/tmp/flink-dds-970855244076931603.txt文件的第14行出现了一个不可转义的控制字符0x1。
要解决这个问题,需要打开/tmp/flink-dds-970855244076931603.txt文件,找到第14行并检查该行是否存在不合法的字符。如果存在,则需要将其转义或删除。在确认文件内容已经正确后,重新运行程序即可。
阅读全文