I just tried the DVDstore example and it fails on the same point in ProductionUnitTest. testNG stacktrace: javax.persistence.PersistenceException: No Persistence provider for EntityManager named dvdDatabase | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60) | at com.jboss.dvd.seam.test.ProductUnitTest.em(ProductUnitTest.java:23) | at com.jboss.dvd.seam.test.ProductUnitTest.testCreateDelete(ProductUnitTest.java:54) | 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:580) | at org.testng.internal.Invoker.invokeMethod(Invoker.java:478) | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:607) | at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:874) | at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | at org.testng.TestRunner.runWorkers(TestRunner.java:689) | at org.testng.TestRunner.privateRun(TestRunner.java:566) | at org.testng.TestRunner.run(TestRunner.java:466) | at org.testng.SuiteRunner.runTest(SuiteRunner.java:301) | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:296) | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:276) | at org.testng.SuiteRunner.run(SuiteRunner.java:191) | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:808) | at org.testng.TestNG.runSuitesLocally(TestNG.java:776) | at org.testng.TestNG.run(TestNG.java:701) | at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73) | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124) |
Is there something wrong with my install or with the unit test? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119081#4119081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119081 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user