Mac IDEA 启动该工程时报错
请问牛哥,这样的错误该怎么解决呢
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'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
http://git.oschina.net/sanluan/PublicCMS-lib 文档的地址
谢谢,我已经成功的解决了,就像你说的那样,是由于目录权限的问题引起了这个错误
Unable to initialize IndexManager named 'com.publiccms.entities.cms.CmsContent'
通常是cms的数据目录配置了一个 程序没有读写权限的 目录
配置文件在 config/properties/other.properties
另外还可以去官网看看部署视频教程 或者 部署文档
恩是的呢,在运行 PublicCMS 这个开源项目的时候
你这是项目报错啊