二级缓存有问题啊 有问题
WARN: HHH020003: Could not find a specific ehcache configuration for cache named [com.chinawit.entity.BookInfoVo]; using defaults.
Exception in thread "main" java.lang.NoSuchMethodError: net.sf.ehcache.config.CacheConfiguration.isTerracottaClustered()Z
at org.hibernate.cache.ehcache.internal.util.HibernateEhcacheUtils.validateEhcache(HibernateEhcacheUtils.java:119)
at org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory.getCache(AbstractEhcacheRegionFactory.java:184)
at org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory.buildEntityRegion(AbstractEhcacheRegionFactory.java:127)
at org.hibernate.cache.ehcache.EhCacheRegionFactory.buildEntityRegion(EhCacheRegionFactory.java:48)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:362)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1857)
at com.chinawit.util.HiberateUtil.<clinit>(HiberateUtil.java:22)
at com.chinawit.test.Test.main(Test.java:23)
是我的eache.xml 文件有问题么 麻烦大神指点一下啊 = =
或者 有木有 好心人贴一下 你们这块地 xml文件 代码啊