2017-02-26 99 views
0

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

回答

0

因爲重新創建基本數據,所以DB數據可能全部搞砸了。如果您有數據備份,最好的方法是恢復您的數據庫數據。