Hi all, I have a problem with Jboss microcontainer.I configured Seam framework to work with Jboss microcontainer but I get an error when trying to run a Junit test.When launching my JUnit test, I'm getting the following error:
java.lang.RuntimeException: Problems scanning classpath at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:281) at fr.protys.security.util.JBossUtil.startDeployer(JBossUtil.java:87) at fr.protys.security.core.service.ProtysEntityServiceImplTest.initContainer(ProtysEntityServiceImplTest.java:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) I first tried a sample application (with Entity beans , stateless beans, stateful beans) - with different kinds of relationships(many to many, one to many etc...) with the same configuration. It worked just fine.Then I did the same thing with the project I am working on and which I want to test.I believe that there are some problems with the jars that are used by the jboss embedded microcontainer and the ones that are used by the project and which are specified in the pom.xml file.I've searched a little bit on this and all I could find was something related to the hibernate implementation,so I guess maybe this could be the reason,Jboss AS maybe using a different version of Hibernate that the one that is used by the Jboss embedded microcontainer. Any help would be greatly appreciated. _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
