Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oops! There are something wrong when generate sql statement. #27

Open
kaitezhan opened this issue Jul 9, 2024 · 6 comments
Open

Oops! There are something wrong when generate sql statement. #27

kaitezhan opened this issue Jul 9, 2024 · 6 comments

Comments

@kaitezhan
Copy link

发现经常报Oops! There are something wrong when generate sql statement.

@kaitezhan
Copy link
Author

Caused by: org.xml.sax.SAXParseException; lineNumber: 464; columnNumber: 21; 1 字节的 UTF-8 序列的字节 1 无效。
at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)

@Fernwehx
Copy link

我也遇到了

@kaitezhan
Copy link
Author

我也遇到了

已经卸载了,感觉很鸡肋

@luojiasheng
Copy link

Image

这里的编码使用了系统默认编码,导致sql里面存在中文会解析失败。 拉了项目下来想改一下推上去,发现本地构建不成功

@luojiasheng
Copy link

Image

这里的编码使用了系统默认编码,导致sql里面存在中文会解析失败。 拉了项目下来想改一下推上去,发现本地构建不成功

`谁可以帮忙改一下,验证下没问题就推送上去

        // 修改为显式指定 UTF-8
        XMLMapperBuilder builder = new XMLMapperBuilder(new ByteArrayInputStream(optional.get().getBytes(StandardCharsets.UTF_8)));

`

@luojiasheng
Copy link

@linyimin0812

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants