junit.framework.AssertionFailedError

Missing configuration resource for path /WEB-INF/struts-config.xml

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web44

  • via strutstestcase by *anonymous
    ,
  • Stack trace

    • junit.framework.AssertionFailedError: Missing configuration resource for path /WEB-INF/struts-config.xml at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:142) at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:176) at test.org.phxjug.application.joblist.TestMockShowJobsAction.testShowJobsAction(TestMockShowJobsAction.java:32) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at com.togethersoft.testing.internal.testserver.plugin.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:127) at com.togethersoft.testing.internal.testserver.plugin.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:90) at com.togethersoft.testing.internal.testserver.plugin.junit.JUnitHttpTestRunner.run(JUnitHttpTestRunner.java:31) at com.togethersoft.testing.internal.testserver.RunTestStepCommand.execute(RunTestStepCommand.java:61) at com.togethersoft.testing.internal.testserver.CommandController.execute(CommandController.java:39) at com.togethersoft.testing.internal.testserver.TestServerServlet.executeCommand(TestServerServlet.java:51) at com.togethersoft.testing.internal.testserver.TestServerServlet.GetMethod(TestServerServlet.java:87) at com.togethersoft.testing.internal.testserver.jetty.TsHandler.handleRequest(TsHandler.java:53) at com.togethersoft.testing.internal.testserver.jetty.TsHandler.handle(TsHandler.java:35) at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1047) at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1002) at org.mortbay.http.HttpServer.service(HttpServer.java:774) at org.mortbay.http.HttpConnection.service(HttpConnection.java:745) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:918) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:760) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:148) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:775) at java.lang.Thread.run(Thread.java:484)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,