首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Weceem1.3-找不到快照提供程序net.sf.ehcache.hibernate.EhCacheRegionFactory

Weceem1.3-找不到快照提供程序net.sf.ehcache.hibernate.EhCacheRegionFactory
EN

Stack Overflow用户
提问于 2014-10-14 11:16:32
回答 1查看 528关注 0票数 0

我克隆了weceem- app,weceem-plugin和weceem-spring-安全性,构建了它们,我无法启动这个应用程序,因为:

代码语言:javascript
复制
INFORMATION: TLD skipped. URI: http://www.springframework.org/tags is already defined
Loading Weceem config from file:/Library/Tomcat/shared/classes/weceem.properties
Loaded weceem properties: [searchable:[index:[path:/Library/Tomcat/Websites/cms/search-indexes]]]
Setting searchable index path to: /Library/Tomcat/Websites/cms/search-indexes
Weceem: Initializing ehcache with default weceem ehcache.xml from plugin resource: class path resource [weceem-default-ehcache.xml]
2014-10-14 12:47:47,177 [localhost-startStop-1] INFO  hibernate3.HibernatePluginSupport  - Set db generation strategy to 'update' for datasource DEFAULT
2014-10-14 12:47:47,287 [localhost-startStop-1] INFO  hibernate4.HibernatePluginSupport  - Set db generation strategy to 'update' for datasource DEFAULT
2014-10-14 12:47:47,287 [localhost-startStop-1] ERROR spring.BeanBuilder  - WARNING: Your cache provider is set to 'net.sf.ehcache.hibernate.EhCacheRegionFactory' in DataSource.groovy, however the class for this provider cannot be found.
Using Grails' default cache region factory: 'org.hibernate.cache.ehcache.EhCacheRegionFactory'

甚至我也将这种依赖添加到weceem-app BuildConfig.groovy中:

代码语言:javascript
复制
dependencies {
    ....
    compile "net.sf.ehcache:ehcache-core:2.4.6"
    ....
}
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-10-20 12:42:12

尝试从GitHub更新weceem源(特别是weceem-spring-安全性):这可能是hibernate插件版本的问题所在,它被修改为使用weceem spring-安全性。(我在您的日志中看到了来自hibernate4的信息)。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26359513

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档