javax.servlet.UnavailableException: The /WEB-INF/web.xml was not found.

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

    web.xml file not found with MockStrutsTestCas

    strutstestcase | 1 decade ago | nobody
    javax.servlet.UnavailableException: The /WEB-INF/web.xml was not found.
  2. 0

    newbie

    strutstestcase | 7 years ago | soulgin
    javax.servlet.UnavailableException: tried to access method org/apache/commons/beanutils/BeanUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V from class org/apache/commons/digester/SetPropertyRule
  3. 0

    Unable to use tilesPlugin in struts-config.

    strutstestcase | 9 years ago | ens00033
    javax.servlet.UnavailableException: Cannot load a validator resource from 'null'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError

    strutstestcase | 1 decade ago | nobody
    javax.servlet.UnavailableException: org/apache/struts/config/ApplicationConfig
  6. 0

    testing DynaValidatorForm

    strutstestcase | 1 decade ago | nobody
    javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,                         /WEB-INF/validation.xml'

    12 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. javax.servlet.UnavailableException

      The /WEB-INF/web.xml was not found.

      at org.apache.struts.action.ActionServlet.init()
    2. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
      1 frame
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
      1 frame
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:326)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
      2 frames
    5. com.mediazone.contract
      AdminCMSListFoldersActionTest.testEmptyCase
      1. com.mediazone.contract.service.tests.AdminCMSListFoldersActionTest.testEmptyCase(AdminCMSListFoldersActionTest.java:40)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. JUnit
      OldTestClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:228)
      8. junit.framework.TestSuite.run(TestSuite.java:223)
      9. org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
      9 frames
    8. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
      1 frame
    9. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      5 frames