Mac IDEA 启动该工程时报错

发布于 2021-12-03 01:01:06 字数 2744 浏览 755 评论 5

请问牛哥,这样的错误该怎么解决呢

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

平生欢 2021-12-03 14:19:10

http://git.oschina.net/sanluan/PublicCMS-lib 文档的地址

臻嫒无言 2021-12-03 13:44:39

谢谢,我已经成功的解决了,就像你说的那样,是由于目录权限的问题引起了这个错误

恋你朝朝暮暮 2021-12-03 13:40:09

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

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

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

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

兮颜 2021-12-03 12:09:05

恩是的呢,在运行 PublicCMS 这个开源项目的时候

心欲静而疯不止 2021-12-03 09:56:39

你这是项目报错啊

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文