Hi,
I guess Hibernate 3.2.5.ga cache support is not compatible with JBossCache 2.0.0. It throws the exception below, because the TransactionManagerLookup class changed to the subpackage transaction.
I tried org.hibernate.cache.TreeCacheProvider and org.hibernate.cache.OptimisticTreeCacheProvider. Both throw the exception.
Is there any hot fix or cache provider implementation that supports JBossCache 2.0.0?
Thanks,
Danilo
Hibernate version: 3.2.5.ga
Stack trace:
Code:
java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:375)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:245)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
at
(...)