qq_39497330
逝水乄流年
2017-09-01 07:56

单点登录中 客户端登录认证中心后返回资源页报错500

5
  • cas client
  • java
  • tomcat
  • cas单点登录

HTTP Status 500 - Unable to create XMLReader
type Exception report

message Unable to create XMLReader

description The server encountered an internal error that prevented it from fulfilling this request.

exception

java.lang.RuntimeException: Unable to create XMLReader
org.jasig.cas.client.util.XmlUtils.getXmlReader(XmlUtils.java:58)
org.jasig.cas.client.util.XmlUtils.getTextForElement(XmlUtils.java:130)
org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:82)
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:217)
org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:169)
org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:116)
org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
root cause

org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:230)
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:191)
org.jasig.cas.client.util.XmlUtils.getXmlReader(XmlUtils.java:56)
org.jasig.cas.client.util.XmlUtils.getTextForElement(XmlUtils.java:130)
org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:82)
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:217)
org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:169)
org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:116)
org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
root cause

java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:82)
org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:228)
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:191)
org.jasig.cas.client.util.XmlUtils.getXmlReader(XmlUtils.java:56)
org.jasig.cas.client.util.XmlUtils.getTextForElement(XmlUtils.java:130)
org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:82)
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:217)
org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:169)
org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:116)
org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
note The full stack trace of the root cause is available in the Apache Tomcat/8.0.30 logs.

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答

为你推荐