You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded everything, mounted it in eclipse and when I build it, everything goes fine except the tests. I get the following exception:
Test set: pl.itcrowd.arquillian.mock_contexts.test.MockFacesContextTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 5.37 sec <<< FAILURE!
facesContextAvailabile2(pl.itcrowd.arquillian.mock_contexts.test.MockFacesContextTest) Time elapsed: 0.078 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/shrinkwrap/resolver/api/maven/MavenResolutionFilter
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructors(Class.java:1459)
at org.junit.runners.model.TestClass.(TestClass.java:34)
at org.junit.runners.ParentRunner.(ParentRunner.java:65)
at org.junit.runners.BlockJUnit4ClassRunner.(BlockJUnit4ClassRunner.java:58)
at org.jboss.arquillian.junit.Arquillian.(Arquillian.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:33)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:160)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:126)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
In the test pom.xml version 2.0.0-alpha-1 for shrinkwrap.resolver is used and when I go and search the not found class in the maven repository, I note that MavenResolutionFilter is in jboss/shrinkwrap/resolver/api/maven/filter in stead of in jboss/shrinkwrap/resolver/api/maven, (note the difference: filter). Don't know how to resolve this. Can anybody help me?
The text was updated successfully, but these errors were encountered:
I downloaded everything, mounted it in eclipse and when I build it, everything goes fine except the tests. I get the following exception:
Test set: pl.itcrowd.arquillian.mock_contexts.test.MockFacesContextTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 5.37 sec <<< FAILURE!
facesContextAvailabile2(pl.itcrowd.arquillian.mock_contexts.test.MockFacesContextTest) Time elapsed: 0.078 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/shrinkwrap/resolver/api/maven/MavenResolutionFilter
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructors(Class.java:1459)
at org.junit.runners.model.TestClass.(TestClass.java:34)
at org.junit.runners.ParentRunner.(ParentRunner.java:65)
at org.junit.runners.BlockJUnit4ClassRunner.(BlockJUnit4ClassRunner.java:58)
at org.jboss.arquillian.junit.Arquillian.(Arquillian.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:33)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:160)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:126)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
In the test pom.xml version 2.0.0-alpha-1 for shrinkwrap.resolver is used and when I go and search the not found class in the maven repository, I note that MavenResolutionFilter is in jboss/shrinkwrap/resolver/api/maven/filter in stead of in jboss/shrinkwrap/resolver/api/maven, (note the difference: filter). Don't know how to resolve this. Can anybody help me?
The text was updated successfully, but these errors were encountered: