java.lang.ClassCastException: org.apache.cactus.server.ServletConfigWrapper

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

    ClassCastException encountered within STC

    strutstestcase | 1 decade ago | nobody
    java.lang.ClassCastException: org.apache.cactus.server.ServletConfigWrapper

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.cactus.server.ServletConfigWrapper

      at servletunit.struts.CactusStrutsTestCase.tearDown()
    2. servletunit.struts
      CactusStrutsTestCase.tearDown
      1. servletunit.struts.CactusStrutsTestCase.tearDown(CactusStrutsTestCase.java:149)
      1 frame
    3. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runBare(TestCase.java:130)
      1 frame
    4. org.apache.cactus
      AbstractWebTestCaller.doTest
      1. org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
      2. org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
      2 frames