Hi all, I tried Hibernate 3.3.1 and jboss cache 3.0 CR3 and I've got this result. Google didn't help.
| 12.11.2008 13:25:26 org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge <init> | INFO: Cache provider: org.hibernate.cache.TreeCacheProvider | org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge] | at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:412) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:271) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325) | at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) | at sk.bgs.hbm.Test1.setUp(Test1.java:29) | 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:585) | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) | at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:416) | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:154) | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:88) | at org.testng.TestRunner.beforeRun(TestRunner.java:508) | at org.testng.TestRunner.run(TestRunner.java:476) | at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327) | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299) | at org.testng.SuiteRunner.run(SuiteRunner.java:204) | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:864) | at org.testng.TestNG.runSuitesLocally(TestNG.java:830) | at org.testng.TestNG.run(TestNG.java:748) | at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73) | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124) | 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:585) | at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) | Caused by: java.lang.reflect.InvocationTargetException | 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:494) | at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:407) | ... 29 more | Caused by: java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) | at java.lang.Class.getConstructor0(Class.java:2671) | at java.lang.Class.newInstance0(Class.java:321) | at java.lang.Class.newInstance(Class.java:303) | at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.<init>(RegionFactoryCacheProviderBridge.java:63) | ... 34 more | Could someone help? hibernate.cfg.xml fragment: | <property name="hibernate.cache.use_second_level_cache">true</property> | <property name="hibernate.cache.provider_class">org.hibernate.cache.TreeCacheProvider</property> | Thanks, Radovan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188753#4188753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188753 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
