当前访客身份:游客 [ 登录 | 加入开源中国 ]

问答

当前位置:
问答 » 技术问答 » PublicCMS

开程序员的淘宝店!寻找开源技术服务伙伴!>>> »  


请问牛哥,这样的错误该怎么解决呢
11-29 16:10:32:895 CST [WARN] AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationConfig': Unsatisfied dependency expressed through field 'sessionFactory': Error creating bean with name 'sessionFactory' defined in config.ApplicationConfig: Invocation of init method failed; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in config.ApplicationConfig: Invocation of init method failed; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'
11-29 16:10:32:900 CST [ERROR] ContextLoader - Context initialization failed <org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationConfig': Unsatisfied dependency expressed through field 'sessionFactory': Error creating bean with name 'sessionFactory' defined in config.ApplicationConfig: Invocation of init method failed; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in config.ApplicationConfig: Invocation of init method failed; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'>org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationConfig': Unsatisfied dependency expressed through field 'sessionFactory': Error creating bean with name 'sessionFactory' defined in config.ApplicationConfig: Invocation of init method failed; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in config.ApplicationConfig: Invocation of init method failed; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'

师弟time 师弟time
发帖于 2个月前
2回/91阅

按票数排序  显示最新回答   共有2个回答 (最后回答: 2个月前 )

    0
  • liu13430
    你这是项目报错啊
    --- 共有 1 条评论 ---
    • 师弟time 恩是的呢,在运行 PublicCMS 这个开源项目的时候 (2个月前)   回复
    评论(1)| 引用此答案| 举报 (2016-11-29 16:28)
  • 0
  • kerneler

    Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'

    通常是cms的数据目录配置了一个 程序没有读写权限的 目录

    配置文件在 config/properties/other.properties

    另外还可以去官网看看部署视频教程 或者 部署文档

    --- 共有 2 条评论 ---
    • 师弟time 谢谢,我已经成功的解决了,就像你说的那样,是由于目录权限的问题引起了这个错误 (2个月前)   回复
    • kerneler http://git.oschina.net/sanluan/PublicCMS-lib 文档的地址 (2个月前)   回复
    评论(2)| 引用此答案| 举报 (2016-11-29 16:49)
最新热门职位
更多开发者职位上 开源中国·招聘


回答案顶部 | 回页面顶部