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

org.xml.sax.SAXNotRecognizedException: unrecognized feature http://apache.org/xml/features/disallow-doctype-decl at me.chanjar.weixin.common.util.XmlUtils.xml2Map #2299

Closed
almpazel opened this issue Sep 4, 2021 · 2 comments
Labels

Comments

@almpazel
Copy link

almpazel commented Sep 4, 2021

Exception in thread "main" me.chanjar.weixin.common.error.WxRuntimeException: org.xml.sax.SAXNotRecognizedException: unrecognized feature http://apache.org/xml/features/disallow-doctype-decl
at me.chanjar.weixin.common.util.XmlUtils.xml2Map(XmlUtils.java:45)
at test.TestWechat.main(TestWechat.kt:31)
Caused by: org.xml.sax.SAXNotRecognizedException: unrecognized feature http://apache.org/xml/features/disallow-doctype-decl
at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
at org.dom4j.io.SAXReader.setFeature(SAXReader.java:283)
at me.chanjar.weixin.common.util.XmlUtils.xml2Map(XmlUtils.java:33)
... 1 more

@binarywang
Copy link
Member

#1734 楼主先参考下这里的解决方案,能否解决

@stale
Copy link

stale bot commented Nov 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 4, 2021
@stale stale bot closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants