- 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/
JRebel 是否使用 Javassist 或某种字节码操作?我问这个纯粹是出于兴趣,我实际上并不“需要”知道:) 最佳答案 JRebel 使用类重写(ASM 和 Javassist)和 JVM 集成
我正在寻找可以在 IBM RAD 中使用的 JREBEL 的开源替代品 我试过了 Dynamic Code Evolution带有 IBM Websphere 和 RAD 的虚拟机。 DCEVM 无法
我有一些关于 JRebel 和 Java 动态类老丁的问题。 举例来说,在 servlet 中,我可以在 WEB-INF 目录的classes 目录中重新加载 servlet 类,这样每当我更改类的内
所以我想出了如何运行 SBT 演示项目 >SBT >container:start 我可以做一个 >container:restart 每次我更改代码时,这就是我安装 JREBEL 的原因。我只是将以
编写单元测试是一个好习惯 独立于整个 spring 应用程序上下文 自动化您正在进行的持续集成测试 避免依赖 Servlet 容器 我猜想对于 JRebel 来说,有一种诱惑是测试正在运行的应用程序中
最近,当我们提出 Jersey 请求以及关闭时,jrebel 开始重新加载项目中的所有类。这似乎并不是每个请求都会发生,但如果您在请求之间等待一段时间,那么几乎肯定会发生这种情况。 它只是循环遍历项目
在使用 JRebel 启动 WL 时,我可以看到文件夹监视器消息,但是当将类文件放入文件夹时,它没有被加载。 目前我们有 WL 9.2,类路径的一部分是 api.jar。 此外,我们还添加了与 api
我正在开发一个通过 Tomcat 7 在本地运行的 Spring webapp。我正在使用 Eclipse 开发我的项目,并使用 JRebel 实时应用我所做的任何更改。当我启动 Tomcat 时,系
JRebel 可以在远程服务器上部署应用程序。为此,根据文档,JRebel 代理应该放在服务器引导中。 后来的工具如 Eclipse 提供了 ability to connect to the rem
关闭。这个问题是opinion-based .它目前不接受答案。 想改进这个问题?更新问题,以便 editing this post 可以用事实和引用来回答它. 4年前关闭。 Improve this
我的目标是减少 Scala 编译时间。我将 Intellij IDEA 10 与 Scala 2.8.1-RC1 一起使用。 我读过使用 SBT 会减少编译时间,因为它很聪明地只重新构建自上次构建以来
我正在用纯 Java 编写游戏(没有外部库)。在启用 JRebel 的情况下运行项目会降低性能并且帧速率低于 1 fps。 有什么办法可以使用JRebel进行游戏开发吗?例如,我可以在对代码进行一些更
我使用 jrebel 的 Debug模式启动了该项目。当我更新类时,jrebel 抛出以下日志异常。尽管我没有对类进行任何更改,但我只是添加了一个空格。在启动模式下启动是正常的。 15:01:45,6
我已将正确的 JRebel 路径添加到我的 local.properties 文件中。但随后我面临以下错误 Could not find agent library C:Userspramod.p2p
我在 JBoss 5 上有一个应用程序(一些 war ),但它并不总是能用 JRebel 正确部署。有时有效,有时无效。有时 JRebel 无法启动,我不知道为什么。任何地方都没有错误(在控制台、日志
在我的时区下午好。 我正在使用 IntelliJ 和 JRebel 插件版本 6.5.1 。为了激活我的许可证,我连接到“许可证服务器”。问题是这个新插件版本没有“使用 IDE 代理设置”复选框,当我
我在 Intellij IDEA(Leda 预览版,122.746)中使用 JRebel 5.0.0 和 JRebel 插件。服务器是GlassFish v3.1。我的应用程序使用 Wicket,并将
如前所述,我想在执行期间更改字节码。我没有运行任何类型的应用程序或网络服务器,它只是一个命令行程序。 当然我可以只创建一个新的 ClassLoader,但是从性能的角度来看这是不可行的。 我遇到了 J
是否可以动态禁用 JRebel,而不需要重新启动 Java 进程? 这会很有用,因为有时我想在共享的系统上更改代码(并编译它),而这些更改还没有变成“实时”。 谢谢 最佳答案 不可能。 JRebel
我可以告诉我的 Intellij 为 tomcat 和 Webpshere jar 文件重建 .class 吗? 我的模块配置:
我是一名优秀的程序员,十分优秀!