android手机端用xstream解析后台返回的xml时报错,这是什么原因导致的?菜鸟急求高手指导! 20
错误日志如下:com.thoughtworks.xstream.io.StreamException::unterminatedentityref(position:EN...
错误日志如下:
com.thoughtworks.xstream.io.StreamException: : unterminated entity ref (position:ENTITY_REF &2007@1:1314 in java.io.StringReader@2feb3c70)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:86)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:66)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
at com.jsict.gjqf.util.XmlToObjectUtil.XmlToObject(XmlToObjectUtil.java:50)
at com.jsict.gjqf.thread.TechnicalRegulationThread.doLogic(TechnicalRegulationThread.java:37)
at com.jsict.gjqf.thread.base.BaseSoapThread.run(BaseSoapThread.java:105)
Caused by: org.xml.sax.SAXParseException: unterminated entity ref (position:ENTITY_REF &2007@1:1314 in java.io.StringReader@2feb3c70)
at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:153)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79) 展开
com.thoughtworks.xstream.io.StreamException: : unterminated entity ref (position:ENTITY_REF &2007@1:1314 in java.io.StringReader@2feb3c70)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:86)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:66)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
at com.jsict.gjqf.util.XmlToObjectUtil.XmlToObject(XmlToObjectUtil.java:50)
at com.jsict.gjqf.thread.TechnicalRegulationThread.doLogic(TechnicalRegulationThread.java:37)
at com.jsict.gjqf.thread.base.BaseSoapThread.run(BaseSoapThread.java:105)
Caused by: org.xml.sax.SAXParseException: unterminated entity ref (position:ENTITY_REF &2007@1:1314 in java.io.StringReader@2feb3c70)
at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:153)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询