hybris Cache不存在错误

时间:2016-12-22 05:37:51

标签: hybris

我正在使用hybris版本5.5.1,我已经完成了modulegen并完成了localextention.xml中的所有配置,现在当我启动hybris服务器(./hybrisserver.sh)并得到以下错误时。

ERROR [localhost-startStop-1] [DeploymentMigrationUtil] Error while migrating deployments of extension core
java.lang.IllegalStateException: The queryCacheRegion Cache is not alive (STATUS_SHUTDOWN)
    at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:4075)
    at net.sf.ehcache.Cache.checkStatus(Cache.java:2766)

1 个答案:

答案 0 :(得分:0)

查看下面的代码段,这是从您共享的堆栈跟踪中获取的。

**Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [my.bookstore.cockpits.setup.CockpitSystemSetup] for bean with name 'yAcceleratorCockpitsSystemSetup' defined in org.springframework.integration.security.config.SecurityIntegrationConfigurationInitializer@4091564b; nested exception is java.lang.ClassNotFoundException: my.bookstore.cockpits.setup.CockpitSystemSetup**
at org.springframework.integration.security.config.SecurityIntegrationConfigurationInitializer.initialize(SecurityIntegrationConfigurationInitializer.java:63)
at org.springframework.integration.config.IntegrationConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IntegrationConfigurationBeanFactoryPostProcessor.java:48)
... 29 more 
 Caused by: java.lang.ClassNotFoundException: my.bookstore.cockpits.setup.CockpitSystemSetup

现在,由于java.lang.ClassNotFoundException: my.bookstore.cockpits.setup.CockpitSystemSetup

,请在春季上下文中检查此bean初始化

查找声明此类的bean注入的bean初始化,并确保该类的限定名称是正确的。

如果问题仍然存在,请告诉我。