大神看下这个真么解决 应用服务器时weblogic
outputXml:<?xml version="1.0" encoding="GB2312"?>
<ContractRoot>
<TcpCont>
<TransactionID>6003010007201310270000014597</TransactionID>
<ActionCode>1</ActionCode>
<RspTime>20131027120626</RspTime>
<Response>
<RspType>1</RspType>
<RspCode>5001</RspCode>
<RspDesc>未查询到投诉单信息</RspDesc>
</Response>
</TcpCont>
<SvcCont>
<SOO>
<PUB_RES>
<SOO_ID>1</SOO_ID>
<RspType>1</RspType>
<RspCode>5001</RspCode>
<RspDesc>未查询到投诉单信息</RspDesc>
</PUB_RES>
</SOO>
</SvcCont>
</ContractRoot>
org.xml.sax.SAXParseException: com.primeton.crimson.parser/P-076 Unconvertible UTF-8 character beginning with 0xb2
at com.primeton.crimson.parser.InputEntity.fatal(InputEntity.java:1048)
at com.primeton.crimson.parser.InputEntity.fillbuf(InputEntity.java:1020)
at com.primeton.crimson.parser.InputEntity.peek(InputEntity.java:851)
at com.primeton.crimson.parser.Parser2.peek(Parser2.java:2935)
at com.primeton.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1007)
at com.primeton.crimson.parser.Parser2.parseInternal(Parser2.java:493)
at com.primeton.crimson.parser.Parser2.parse(Parser2.java:312)
at com.primeton.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:440)
at com.primeton.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:176)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
at com.primeton.tp.common.xml.PrimetonDocumentFactoryPrimetonImpl.parseString(PrimetonDocumentFactoryPrimetonImpl.java:51)
at com.primeton.tp.common.xml.XmlUtil.parseString(XmlUtil.java:140)
at com.starit.spi.biz.AxisClientGroupBiz.BL_TransferToGroupAssistantInfo(AxisClientGroupBiz.java:855)
at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.primeton.tp.core.bizservice.state.MethodBizState.invoke(MethodBizState.java:79)
at com.primeton.tp.core.bizservice.ProcessRunner.implement(ProcessRunner.java:187)
at com.primeton.tp.core.bizservice.state.SubProcessBizState.invoke(SubProcessBizState.java:156)
at com.primeton.tp.core.bizservice.ProcessRunner.implement(ProcessRunner.java:187)
at com.primeton.tp.core.bizservice.ProcessCaller.implement_noEJB(ProcessCaller.java:230)
at com.primeton.tp.core.bizservice.ProcessCaller.implement(ProcessCaller.java:93)
at jsp_servlet._common._page.__hiddensubmit._jspService(__hiddensubmit.java:216)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
com.primeton.tp.common.xml.XmlUtilException: com.primeton.crimson.parser/P-076 Unconvertible UTF-8 character beginning with 0xb2
at com.primeton.tp.common.xml.PrimetonDocumentFactoryPrimetonImpl.parseString(PrimetonDocumentFactoryPrimetonImpl.java:56)
at com.primeton.tp.common.xml.XmlUtil.parseString(XmlUtil.java:140)
at com.starit.spi.biz.AxisClientGroupBiz.BL_TransferToGroupAssistantInfo(AxisClientGroupBiz.java:855)
at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.primeton.tp.core.bizservice.state.MethodBizState.invoke(MethodBizState.java:79)
at com.primeton.tp.core.bizservice.ProcessRunner.implement(ProcessRunner.java:187)
at com.primeton.tp.core.bizservice.state.SubProcessBizState.invoke(SubProcessBizState.java:156)
at com.primeton.tp.core.bizservice.ProcessRunner.implement(ProcessRunner.java:187)
at com.primeton.tp.core.bizservice.ProcessCaller.implement_noEJB(ProcessCaller.java:230)
at com.primeton.tp.core.bizservice.ProcessCaller.implement(ProcessCaller.java:93)
at jsp_servlet._common._page.__hiddensubmit._jspService(__hiddensubmit.java:216)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
method exception! --------------------编程问答-------------------- 看错误是编码问题,你改成utf-8试试
<?xml version="1.0" encoding="UTF-8"?> --------------------编程问答-------------------- 应该是编码的问题
补充:Java , Java EE