1 2 Previous Next 20 Replies Latest reply on Oct 11, 2007 5:55 PM by Matthew Lieder

    Seam 2.0.0.CR1 TestNG problem

    Murat HAZER Newbie

      i am trying to use SeamTest for integration test but i get the following error

      javax.servlet.ServletException: ServletContext not allow to getResourceAsStream for /WEB-INF/web.xml
       at org.ajax4jsf.webapp.WebXml.init(WebXml.java:113)
       at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:133)
       at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:148)
       at org.jboss.seam.web.Ajax4jsfFilter.init(Ajax4jsfFilter.java:86)
       at org.jboss.seam.servlet.SeamFilter.init(SeamFilter.java:97)
       at org.jboss.seam.mock.BaseSeamTest.createSeamFilter(BaseSeamTest.java:923)
       at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:904)
       at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
       at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
       at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
       at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
       at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
       at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
       at org.testng.TestRunner.runWorkers(TestRunner.java:678)
       at org.testng.TestRunner.privateRun(TestRunner.java:624)
       at org.testng.TestRunner.run(TestRunner.java:495)
       at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
       at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
       at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
       at org.testng.SuiteRunner.run(SuiteRunner.java:190)
       at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
       at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
       at org.testng.TestNG.run(TestNG.java:699)
       at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
       at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122)
      


      what could be the problem?

        1 2 Previous Next