- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经建立了一些 hybris 项目并在其中使用了 jrebel,但这个项目有点不同。
当我使用 ./hybrisserver.sh debug
和 tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend 运行服务器时=n
,它启动正确,我可以调试服务器。
当我使用 ./hybrisserver.sh debug
和 tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend 运行服务器时=n -agentpath:%JREBEL_HOME%/lib/libjrebel64.dylib
,它无法启动,并且出现以下错误。
当我使用 ./hybrisserver.sh
和 tomcat.javaoptions=-agentpath:%JREBEL_HOME%/lib/libjrebel64.dylib
(不是调试选项)运行服务器时!),它正常启动并且 jrebel 出现在日志中。
ERROR [localhost-startStop-4] [HybrisContextFactory] Error initializing global application context!
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultInterceptorRegistry' defined in class path resource [interceptor-spring.xml]: Unsatisfied dependency expressed through bean property 'interceptorMappings'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classAttributeAssignmentUniqueClassificationItemValidatorMapping' defined in class path resource [catalog-spring.xml]: Cannot resolve reference to bean 'uniqueClassificationItemValidator' while setting bean property 'interceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uniqueClassificationItemValidator' defined in class path resource [catalog-spring.xml]: Cannot resolve reference to bean 'categoryService' while setting bean property 'categoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsCategoryService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'lerbsB2BUnitService' while setting bean property 'lerbsB2BUnitService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsB2BUnitService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'b2bCommerceUnitService' while setting bean property 'b2BCommerceUnitService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsB2BCommerceUnitService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'emailService' while setting bean property 'emailService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsEmailService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'b2bCommerceUserService' while setting bean property 'lerbsB2BCommerceUserService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsB2BCommerceUserService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'productService' while setting bean property 'productService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsProductService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'priceService' while setting bean property 'priceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpPricingCatalogService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'netGrossStrategy' while setting bean property 'netGrossStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commerceNetGrossStrategy' defined in class path resource [commerceservices-spring.xml]: Cannot resolve reference to bean 'cartService' while setting bean property 'cartService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCartServiceForAccelerator' defined in class path resource [acceleratorservices-spring.xml]: Cannot resolve reference to bean 'orderCalculation' while setting bean property 'orderCalculation'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultOrderCalculation' defined in class path resource [order-spring.xml]: Cannot resolve reference to bean 'calculationService' while setting bean property 'calculationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpCartCalculationService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'erpPricingCartService' while setting bean property 'erpPricingCartService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpPricingCartService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'erpPricing' while setting bean property 'erpPricing'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpPricing' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'configurableErpPricingBackend' while setting bean property 'erpPricingBackend'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurableErpPricingBackend' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'legacyErpPricingBackendMongo' while setting bean property 'erpPricingBackendMap' with key [TypedStringValue: value [legacy], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'legacyErpPricingBackendMongo' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'storeSessionFacade' while setting bean property 'storeSessionFacade'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultStoreSessionFacade' defined in class path resource [commercefacades-spring.xml]: Cannot resolve reference to bean 'commerceCartService' while setting bean property 'commerceCartService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsCommerceCartService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'commerceCartCalculationStrategy' while setting bean property 'commerceCartCalculationStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsCommerceCartCalculationStrategy' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'promotionsService' while setting bean property 'promotionsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPromotionEngineService' defined in class path resource [promotionengineservices-spring.xml]: Cannot resolve reference to bean 'commerceRuleEngineService' while setting bean property 'commerceRuleEngineService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceRuleEngineService' defined in class path resource [droolsruleengineservices-spring.xml]: Cannot resolve reference to bean 'platformRuleEngineService' while setting bean property 'platformRuleEngineService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPlatformRuleEngineService' defined in class path resource [ruleengine-spring.xml]: Cannot resolve reference to bean 'kieSessionHelper' while setting bean property 'kieSessionHelper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultKieSessionHelper' defined in class path resource [ruleengine-spring.xml]: Cannot resolve reference to bean 'ruleEngineKieModuleSwapper' while setting bean property 'ruleEngineKieModuleSwapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleEngineKieModuleSwapper' defined in class path resource [ruleengine-spring.xml]: Cannot resolve reference to bean 'ruleEngineCacheService' while setting bean property 'ruleEngineCacheService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceRuleEngineCacheService' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleEngineCache' while setting bean property 'ruleEngineCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceRuleEngineCache' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'commerceRuleEngineRaoCacheCreators' while setting bean property 'raoCacheCreators'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commerceRuleEngineRaoCacheCreators': Cannot resolve reference to bean 'ruleGroupExecutionRRDProvider' while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupExecutionRRDProvider' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleGroupExecutionRrdConverter' while setting bean property 'ruleGroupExecutionRrdConverter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupExecutionRrdConverter' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleGroupExecutionRrdPopulator' while setting bean property 'ruleGroupExecutionRrdPopulator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupExecutionRrdPopulator' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleGroupDao' while setting bean property 'ruleGroupDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupDao' defined in class path resource [ruleengineservices-spring-rule.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1362) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1254) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:543) ~[spring-context-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java:40002) ~[spring-context-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:41008) ~[spring-context-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at de.hybris.platform.core.HybrisContextFactory.refreshContext(HybrisContextFactory.java:95) ~[coreserver.jar:?]
at de.hybris.platform.core.HybrisContextFactory$ApplicationContextFactory.build(HybrisContextFactory.java:263) ~[coreserver.jar:?]
at de.hybris.platform.core.HybrisContextHolder.getApplicationInstance(HybrisContextHolder.java:87) ~[coreserver.jar:?]
at de.hybris.platform.core.AbstractTenant.createCoreApplicationContext(AbstractTenant.java:713) ~[coreserver.jar:?]
at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.java:752) ~[coreserver.jar:?]
at de.hybris.platform.core.AbstractTenant.doStartUp(AbstractTenant.java:685) ~[coreserver.jar:?]
at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:658) ~[coreserver.jar:?]
at de.hybris.platform.core.Registry.activateTenant(Registry.java:719) ~[coreserver.jar:?]
at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:566) ~[coreserver.jar:?]
at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:626) ~[coreserver.jar:?]
at de.hybris.platform.core.Registry.startup(Registry.java:444) ~[coreserver.jar:?]
at de.hybris.platform.core.ClassLoaderUtils.executeWithWebClassLoaderParentIfNeeded(ClassLoaderUtils.java:42) [coreserver.jar:?]
at de.hybris.platform.spring.HybrisContextLoaderListener.startRegistry(HybrisContextLoaderListener.java:325) [coreserver.jar:?]
at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:211) [coreserver.jar:?]
at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:199) [coreserver.jar:?]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:95) [coreserver.jar:?]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699) [catalina.jar:8.5.51]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165) [catalina.jar:8.5.51]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:8.5.51]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412) [catalina.jar:8.5.51]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402) [catalina.jar:8.5.51]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_252]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classAttributeAssignmentUniqueClassificationItemValidatorMapping' defined in class path resource [catalog-spring.xml]: Cannot resolve reference to bean 'uniqueClassificationItemValidator' while setting bean property 'interceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uniqueClassificationItemValidator' defined in class path resource [catalog-spring.xml]: Cannot resolve reference to bean 'categoryService' while setting bean property 'categoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsCategoryService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'lerbsB2BUnitService' while setting bean property 'lerbsB2BUnitService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsB2BUnitService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'b2bCommerceUnitService' while setting bean property 'b2BCommerceUnitService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsB2BCommerceUnitService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'emailService' while setting bean property 'emailService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsEmailService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'b2bCommerceUserService' while setting bean property 'lerbsB2BCommerceUserService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultLerbsB2BCommerceUserService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'productService' while setting bean property 'productService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsProductService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'priceService' while setting bean property 'priceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpPricingCatalogService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'netGrossStrategy' while setting bean property 'netGrossStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commerceNetGrossStrategy' defined in class path resource [commerceservices-spring.xml]: Cannot resolve reference to bean 'cartService' while setting bean property 'cartService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCartServiceForAccelerator' defined in class path resource [acceleratorservices-spring.xml]: Cannot resolve reference to bean 'orderCalculation' while setting bean property 'orderCalculation'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultOrderCalculation' defined in class path resource [order-spring.xml]: Cannot resolve reference to bean 'calculationService' while setting bean property 'calculationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpCartCalculationService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'erpPricingCartService' while setting bean property 'erpPricingCartService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpPricingCartService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'erpPricing' while setting bean property 'erpPricing'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpPricing' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'configurableErpPricingBackend' while setting bean property 'erpPricingBackend'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurableErpPricingBackend' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'legacyErpPricingBackendMongo' while setting bean property 'erpPricingBackendMap' with key [TypedStringValue: value [legacy], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'legacyErpPricingBackendMongo' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'storeSessionFacade' while setting bean property 'storeSessionFacade'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultStoreSessionFacade' defined in class path resource [commercefacades-spring.xml]: Cannot resolve reference to bean 'commerceCartService' while setting bean property 'commerceCartService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsCommerceCartService' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'commerceCartCalculationStrategy' while setting bean property 'commerceCartCalculationStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lerbsCommerceCartCalculationStrategy' defined in class path resource [lerbscore-spring.xml]: Cannot resolve reference to bean 'promotionsService' while setting bean property 'promotionsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPromotionEngineService' defined in class path resource [promotionengineservices-spring.xml]: Cannot resolve reference to bean 'commerceRuleEngineService' while setting bean property 'commerceRuleEngineService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceRuleEngineService' defined in class path resource [droolsruleengineservices-spring.xml]: Cannot resolve reference to bean 'platformRuleEngineService' while setting bean property 'platformRuleEngineService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPlatformRuleEngineService' defined in class path resource [ruleengine-spring.xml]: Cannot resolve reference to bean 'kieSessionHelper' while setting bean property 'kieSessionHelper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultKieSessionHelper' defined in class path resource [ruleengine-spring.xml]: Cannot resolve reference to bean 'ruleEngineKieModuleSwapper' while setting bean property 'ruleEngineKieModuleSwapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleEngineKieModuleSwapper' defined in class path resource [ruleengine-spring.xml]: Cannot resolve reference to bean 'ruleEngineCacheService' while setting bean property 'ruleEngineCacheService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceRuleEngineCacheService' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleEngineCache' while setting bean property 'ruleEngineCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceRuleEngineCache' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'commerceRuleEngineRaoCacheCreators' while setting bean property 'raoCacheCreators'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commerceRuleEngineRaoCacheCreators': Cannot resolve reference to bean 'ruleGroupExecutionRRDProvider' while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupExecutionRRDProvider' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleGroupExecutionRrdConverter' while setting bean property 'ruleGroupExecutionRrdConverter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupExecutionRrdConverter' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleGroupExecutionRrdPopulator' while setting bean property 'ruleGroupExecutionRrdPopulator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupExecutionRrdPopulator' defined in class path resource [ruleengineservices-spring.xml]: Cannot resolve reference to bean 'ruleGroupDao' while setting bean property 'ruleGroupDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRuleGroupDao' defined in class path resource [ruleengineservices-spring-rule.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1534) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1281) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1314) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1280) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1178) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1094) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1347) ~[spring-beans-4.3.21.RELEASE.jar:4.3.21.RELEASE]
... 38 more
现在我有点陷入困境。
最佳答案
以下配置可正确进行开发调试。
tomcat.javaoptions=-agentpath:"C:/jrebel/lib/jrebel64.dll"
tomcat.debugjavaoptions=-agentpath:"C:/jrebel/lib/jrebel64.dll" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -Dfile.encoding=UTF8
相应地更改路径。
关于java - 以 Debug模式启动时,jrebel 导致 hybris 出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62431627/
我正在创建一个Hybris impex文件,以导入到我的数据库中。 我想对文件中的数据执行INSERT_UPDATE操作,因此我需要告诉Hybris哪些列必须是唯一的,以便它知道何时更新记录而不是插入
我正在努力学习 Hybris。我已经成功安装了 hybris,那里有很多博客都在谈论使用您自己的自定义模块来安装核心 hybris 以进行更改,例如这个: http://javainsimpleway
我在“extensioninfo.xml”中有这些扩展: 这些扩展是如何构建的?如果我将它们放在同一个“extensioninfo.xml”文件中,是否有任何顺序?会在“b2bcommerc
我是 hybris 的新手,什么是 diff b/w 关系和集合,为什么我们选择关系而不是集合。 最佳答案 基本上,在 hybris 中建模集合有两种技术上不同的方法: 集合类型 将 hybris 中
我有客户项目类型 "Appeasement",其中包含枚举类型 "AppeasementStatusType"的属性 "appeasementStatus"。 对于 customersupportag
我正在处理 Hybris 项目 非常耗时等待 350 - 550 秒 单个 Hybris 服务器启动 ,即使只是在代码中稍作修改/错误类型。是否可以减少 此 时间 只运行那些我修改过的扩展或其他方式?
为了将 hybris 日志与控制台(catalina)包装器(tanuki)和 tomcat 分开,我创建了这两个配置。 #local.properties log4j.appender.FILE =
现在当我去https://localhost:9002/它打开 hac (hybris admin console). 当我去https://powertools.local:9002/nystore
默认情况下,Hybtis 将 CreditCardType 作为强制属性。我想通过使用 redeclare=true 使其成为 Optional (不使用新模型扩展它)。我想知道为什么它不更新 Cre
我是 Hybris 的新手,正在遵循 Hybris wiki 中给出的 Commerce 线索。我可以看到他们在“平台”标签下执行“更新”。这个操作有什么作用? 最佳答案 从上面的链接。对于没有 wi
我有一个 Hybris 系统,在每个数据库表中都有一个名为“hjmpts”的列。该列包含 INT 值。有人知道这个专栏的原因吗? 最佳答案 它旨在以与 Hibernate 等持久层使用 @Versio
我想知道在 Hybris 属性文件中是否有引用环境变量的方法。 例如,在 local.properties 中:my.property = ${MY_ENVIRONMENT_VARIABLE} 我的搜
您好,我在 commerefacades-beans.xml 中创建了 eProductForm bean,我添加了 ProductData 的自定义属性。 然后在commercewebs
我正在探索 hybris 销售云试用版。我想使用 postman 测试 oauth2,我不知道这是否是正确的方法,但我通过转到 在 SAP Cloud Platform cockpit 中创建了一个客
和 generate="true"等等。 关于类型系统等 最佳答案 autocreate默认情况下为 true 并且在类型中设置此修饰符意味着将在初始化期间创建该项目。generate默认情况下也是如
我将第一次安装DataHub。我正在尝试集成 Hybris Commerce 6.5 和 Hybris Datahub。我建立了hybris commerce 6.5和mysql 5.7.17。我初始
我是hybris的新手。我想使用 external-dependencies.xml 在 hybris 中添加 maven 依赖项。但是我看不到任何弹出的 jar 。是否可以使用 external-d
我正在尝试从 apache 网络服务器访问 yacceleratorstorefront/electronics/en/?site=electronics URL 到配置了电子商店 URL 的 Hyb
在 SAP hybris 平台的构建过程中,我收到以下错误: [java] ERROR StatusLogger Cannot start ShutdownCallbackRegistry, alr
有人可以解释一下 Hybris 中使用的 转换器 和 populators 的概念吗?我正在研究 Hybris 中的 AddOns 的概念,但是在我们在 Hybris 商务加速器中使用 AddOns
我是一名优秀的程序员,十分优秀!