开发者社区 问答 正文

调用Axis 接口报错?报错

调用某个接口,解析XML的时候偶尔成功,大多数都报错:

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 7844; XML document structures must start and end within the same entity.

展开
收起
爱吃鱼的程序员 2020-06-14 20:34:35 465 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    xml文档结构不正确没有正确结束 开始和结尾的标签应该是对应的 仔细看看。
    异常处理,接口不稳定

    推荐这个答案~

    2020-06-14 20:34:51
    赞同 展开评论
问答分类:
问答地址: