parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactoryImpl

strutstestcase | nobody | 1 decade 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

    Problem in Running MockStrutsTestCase

    strutstestcase | 1 decade ago | nobody
    parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactoryImpl

    Root Cause Analysis

    1. parsers.FactoryConfigurationError

      com.sun.xml.parser.SAXParserFactoryImpl

      at javax.xml.parsers.SAXParserFactory.newInstance()
    2. Java RT
      SAXParserFactory.newInstance
      1. javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
      1 frame
    3. Commons Digester
      Digester.parse
      1. org.apache.commons.digester.Digester.getFactory(Digester.java:518)
      2. org.apache.commons.digester.Digester.getParser(Digester.java:692)
      3. org.apache.commons.digester.Digester.getXMLReader(Digester.java:908)
      4. org.apache.commons.digester.Digester.parse(Digester.java:1543)
      4 frames
    4. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)
      2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
      2 frames
    5. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
      1 frame
    6. servletunit.struts
      MockStrutsTestCase.setActionForm
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:178)
      2. servletunit.struts.MockStrutsTestCase.setActionForm(MockStrutsTestCase.java:631)
      2 frames
    7. com.brickred.taxtitan
      TestLoginAction.testLoginAction
      1. com.brickred.taxtitan.TestLoginAction.testLoginAction(TestLoginAction.java:46)
      1 frame
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    9. JUnit
      TestRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      9. junit.textui.TestRunner.doRun(TestRunner.java:116)
      10. junit.textui.TestRunner.doRun(TestRunner.java:109)
      11. junit.textui.TestRunner.run(TestRunner.java:72)
      12. junit.textui.TestRunner.run(TestRunner.java:57)
      12 frames
    10. com.brickred.taxtitan
      TestLoginAction.main
      1. com.brickred.taxtitan.TestLoginAction.main(TestLoginAction.java:58)
      1 frame