java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory

Jenkins JIRA | Josef Schauer | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hello, we changed the JBoss Version from JBoss 7.1.1-Final to JBoss EAP 6.1. Since this change we get this error: {code} Results : Tests run: 42, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results Warning: Caught exception attempting to use SAX to load a SAX XMLReader Warning: Exception was: org.xml.sax.SAXException: SAX2 driver class __redirected.__XMLReaderFactory not found java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory Warning: I will print the stack trace then carry on using the default SAX parser org.xml.sax.SAXException: SAX2 driver class __redirected.__XMLReaderFactory not found java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:229) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:190) at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83) at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894) at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715) at org.dom4j.io.SAXReader.read(SAXReader.java:435) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:130) at hudson.tasks.junit.TestResult.parse(TestResult.java:274) at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:230) at hudson.tasks.junit.TestResult.parse(TestResult.java:199) at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148) at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:622) at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:604) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecut {code} If we run the maven build local, then the build runs successfully.

    Jenkins JIRA | 4 years ago | Josef Schauer
    java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory
  2. 0

    Hello, we changed the JBoss Version from JBoss 7.1.1-Final to JBoss EAP 6.1. Since this change we get this error: {code} Results : Tests run: 42, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results Warning: Caught exception attempting to use SAX to load a SAX XMLReader Warning: Exception was: org.xml.sax.SAXException: SAX2 driver class __redirected.__XMLReaderFactory not found java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory Warning: I will print the stack trace then carry on using the default SAX parser org.xml.sax.SAXException: SAX2 driver class __redirected.__XMLReaderFactory not found java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:229) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:190) at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83) at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894) at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715) at org.dom4j.io.SAXReader.read(SAXReader.java:435) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:130) at hudson.tasks.junit.TestResult.parse(TestResult.java:274) at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:230) at hudson.tasks.junit.TestResult.parse(TestResult.java:199) at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148) at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:622) at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:604) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecut {code} If we run the maven build local, then the build runs successfully.

    Jenkins JIRA | 4 years ago | Josef Schauer
    java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory
  3. 0

    Problems with hibernate log4j

    Stack Overflow | 2 years ago
    java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java 1.5 and Leopard problem | Apple Support Communities

    apple.com | 1 year ago
    java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser
  6. 0

    Hibernate

    com.br | 1 year ago
    java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser Warning: I will print the stack trace then carry on using the default SAX parser

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      __redirected.__XMLReaderFactory

      at org.xml.sax.helpers.XMLReaderFactory.loadClass()
    2. Java RT
      XMLReaderFactory.createXMLReader
      1. org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:229)
      2. org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:190)
      2 frames
    3. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83)
      2. org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
      3. org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
      4. org.dom4j.io.SAXReader.read(SAXReader.java:435)
      5. org.dom4j.io.SAXReader.read(SAXReader.java:264)
      5 frames
    4. Hudson
      TestResult.parse
      1. hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:130)
      2. hudson.tasks.junit.TestResult.parse(TestResult.java:274)
      3. hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:230)
      4. hudson.tasks.junit.TestResult.parse(TestResult.java:199)
      4 frames
    5. Legacy Maven 2 job type Plugin
      SurefireArchiver.postExecute
      1. hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148)
      1 frame
    6. Hudson Maven Embedder
      Maven3Builder$MavenExecutionListener.mojoSucceeded
      1. hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:622)
      2. hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:604)
      2 frames
    7. Maven Core
      MojoExecutor.execute
      1. org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
      2. org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
      3 frames