启动服务器时发生Hybris错误

启动服务器时发生Hybris错误

问题描述:

hybris启动时发生了一些错误。我怀疑这是因为我以前的更新中断。我检查了hac-> platform-> update->创建基本数据,我终止服务器更新时,然后我重新启动服务器,发生错误。启动服务器时发生Hybris错误

Unknown error notifying listener de.hybr[email protected]334b5c28 on tenant master startup : Error creating bean with name 'defaultInterceptorRegistry' defined in class path resource [interceptor-spring.xml]: Unsatisfied dependency expressed through bean property 'interceptorMappings': : Error creating bean with name 'navigationNodePrepareInterceptorMapping' defined in class path resource [cms2-spring.xml]: Cannot resolve reference to bean 'navigationNodePrepareInterceptor' while setting bean property 'interceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'navigationNodePrepareInterceptor' defined in class path resource [cms2-spring.xml]: Cannot resolve reference to bean 'cmsNavigationService' while setting bean property 'cmsNavigationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCMSNavigationService' defined in class path resource [cms2-spring.xml]: Cannot resolve reference to bean 'cmsPageService' while setting bean property 'cmsPageService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'iwaCMSPageService' defined in class path resource [iwacore-spring.xml]: Cannot resolve reference to bean 'cmsRestrictionService' while setting bean property 'cmsRestrictionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rankingCMSRestrictionService' defined in class path resource [acceleratorcms-spring.xml]: Cannot resolve reference to bean 'cmsRestrictionEvaluatorRegistry' while setting bean property 'evaluatorRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsRestrictionEvaluatorRegistry' defined in class path resource [cms2-spring.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'btgSegmentRestrictionEvaluatorMapping' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'btgSegmentRestrictionEvaluator' while setting bean property 'restrictionEvaluator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'btgSegmentRestrictionEvaluator' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'btgResultService' while setting bean property 'btgResultService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultBTGResultService' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'segmentEvaluatorRegistry' while setting bean property 'segmentEvaluatorRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSegmentEvaluatorRegistry' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'segmentEvaluator' while setting bean property 'segmentEvaluators' with key [TypedStringValue: value [OPTIMIZED], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSegmentEvaluator' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'actionService' while setting bean property 'actionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultActionService' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'actionExecutionStrategyRegistry' while setting bean property 'executionStrategyRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actionExecutionStrategyRegistry': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void de.hybris.platform.servicelayer.action.impl.DefaultActionExecutionStrategyRegistry.setStrategies(java.util.Collection); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processActionExecutionStrategy' defined in class path resource [processengine-spring.xml]: Cannot resolve reference to bean 'businessProcessService' while setting bean property 'processService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultBusinessProcessService' defined in class path resource [processengine-spring.xml]: Cannot resolve reference to bean 'processDefinitionFactory' while setting bean property 'processDefinitionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultProcessDefinitionFactory' defined in class path resource [processengine-spring.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'iwaConsignmentOrderExceptionEmailAction' is defined; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'navigationNodePrepareInterceptorMapping' defined in class path resource [cms2-spring.xml]: Cannot resolve reference to bean 'navigationNodePrepareInterceptor' while setting bean property 'interceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'navigationNodePrepareInterceptor' defined in class path resource [cms2-spring.xml]: Cannot resolve reference to bean 'cmsNavigationService' while setting bean property 'cmsNavigationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCMSNavigationService' defined in class path resource [cms2-spring.xml]: Cannot resolve reference to bean 'cmsPageService' while setting bean property 'cmsPageService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'iwaCMSPageService' defined in class path resource [iwacore-spring.xml]: Cannot resolve reference to bean 'cmsRestrictionService' while setting bean property 'cmsRestrictionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rankingCMSRestrictionService' defined in class path resource [acceleratorcms-spring.xml]: Cannot resolve reference to bean 'cmsRestrictionEvaluatorRegistry' while setting bean property 'evaluatorRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsRestrictionEvaluatorRegistry' defined in class path resource [cms2-spring.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'btgSegmentRestrictionEvaluatorMapping' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'btgSegmentRestrictionEvaluator' while setting bean property 'restrictionEvaluator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'btgSegmentRestrictionEvaluator' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'btgResultService' while setting bean property 'btgResultService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultBTGResultService' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'segmentEvaluatorRegistry' while setting bean property 'segmentEvaluatorRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSegmentEvaluatorRegistry' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'segmentEvaluator' while setting bean property 'segmentEvaluators' with key [TypedStringValue: value [OPTIMIZED], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSegmentEvaluator' defined in class path resource [btg-spring.xml]: Cannot resolve reference to bean 'actionService' while setting bean property 'actionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultActionService' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'actionExecutionStrategyRegistry' while setting bean property 'executionStrategyRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actionExecutionStrategyRegistry': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void de.hybris.platform.servicelayer.action.impl.DefaultActionExecutionStrategyRegistry.setStrategies(java.util.Collection); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processActionExecutionStrategy' defined in class path resource [processengine-spring.xml]: Cannot resolve reference to bean 'businessProcessService' while setting bean property 'processService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultBusinessProcessService' defined in class path resource [processengine-spring.xml]: Cannot resolve reference to bean 'processDefinitionFactory' while setting bean property 'processDefinitionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultProcessDefinitionFactory' defined in class path resource [processengine-spring.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'iwaConsignmentOrderExceptionEmailAction' is defined 

上面列出的错误,如何解决?

+0

有一个bean缺失:'iwaConsignmentOrderExceptionEmailAction'检查它是否已定义,并且包含它的扩展已加载(请确认localextensions.xml +日志确认) –

+1

谢谢,我已经自己解决了。最好的办法是恢复数据库数据,因为数据库数据全部搞砸了。 – licaomeng

因为重新创建基本数据,所以DB数据可能全部搞砸了。如果您有数据备份,最好的方法是恢复您的数据库数据。