请问牛哥,这样的错误该怎么解决呢
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'
你这是项目报错啊<imgsrc="https://www.oschina.net/js/ke/plugins/emoticons/images/17.gif"alt="">恩是的呢,在运行PublicCMS这个开源项目的时候
<spanstyle="font-family:"font-size:14px;background-color:#FFFFFF;">UnabletoinitializeIndexManagernamed'com.publiccms.entities.cms.CmsContent'
<spanstyle="font-family:"font-size:14px;background-color:#FFFFFF;">通常是cms的数据目录配置了一个程序没有读写权限的目录
<spanstyle="font-family:"font-size:14px;background-color:#FFFFFF;">配置文件在config/properties/other.properties
<spanstyle="font-family:"font-size:14px;background-color:#FFFFFF;">另外还可以去官网看看部署视频教程或者部署文档
谢谢,我已经成功的解决了,就像你说的那样,是由于目录权限的问题引起了这个错误http://git.oschina.net/sanluan/PublicCMS-lib文档的地址版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。