javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,                         /WEB-INF/validation.xml'

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

    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'
  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

    web.xml file not found with MockStrutsTestCas

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

    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

      Cannot load a validator resource from '/WEB-INF/validator-rules.xml,                         /WEB-INF/validation.xml'

      at org.apache.struts.validator.ValidatorPlugIn.init()
    2. struts
      ActionServlet.init
      1. org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:174)
      2. org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
      3. org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
      3 frames
    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:303)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:371)
      2 frames
    5. com.pspl.jmc
      TestLogin.testLogin
      1. com.pspl.jmc.TestLogin.testLogin(TestLogin.java:18)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    7. JUnit
      TestSuite.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)
      8 frames
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
      3 frames