org.springframework.beans.factory.BeanCreationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1#245217793
    via GitHub by 0312birdzhang
    ,
  • Failed to load on Alfresco 5.2
    via GitHub by billydekid
    ,
  • Can not set null value to Verified flag
    via by Unknown author,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultDengineManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.dianping.phoenix.lb.service.model.VirtualServerService com.dianping.phoenix.lb.dengine.DefaultDengineManager.virtualServiceService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'virtualServerServiceImpl' defined in file [D:\代码\camel\camel-admin\target\classes\com\dianping\phoenix\lb\service\model\VirtualServerServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 6 of type [com.dianping.phoenix.lb.service.NginxService]: : Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1147)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)[spring-context-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)[jetty-6.1.26.jar:6.1.26] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)[jetty-6.1.26.jar:6.1.26] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)[jetty-6.1.26.jar:6.1.26] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)[jetty-6.1.26.jar:6.1.26] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)[jetty-6.1.26.jar:6.1.26] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.26.jar:6.1.26] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)[jetty-6.1.26.jar:6.1.26] at org.mortbay.jetty.Server.doStart(Server.java:224)[jetty-6.1.26.jar:6.1.26] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.26.jar:6.1.26] at runjettyrun.Bootstrap.main(Bootstrap.java:97)[bootstrap.jar:na] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.dianping.phoenix.lb.service.model.VirtualServerService com.dianping.phoenix.lb.dengine.DefaultDengineManager.virtualServiceService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'virtualServerServiceImpl' defined in file [D:\代码\camel\camel-admin\target\classes\com\dianping\phoenix\lb\service\model\VirtualServerServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 6 of type [com.dianping.phoenix.lb.service.NginxService]: : Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] ... 23 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'virtualServerServiceImpl' defined in file [D:\代码\camel\camel-admin\target\classes\com\dianping\phoenix\lb\service\model\VirtualServerServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 6 of type [com.dianping.phoenix.lb.service.NginxService]: : Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:752)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1076)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:980)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:917)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:860)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:775)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] ... 25 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultNginxServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1147)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:917)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:860)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:775)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:817)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:745)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] ... 38 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private boolean com.dianping.phoenix.lb.service.DefaultNginxServiceImpl.m_ifNeedCheck; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] ... 50 more Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:74)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:51)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:775)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] ... 52 more Caused by: java.lang.IllegalArgumentException: Invalid boolean value [${local.nginx.config.check}] at org.springframework.beans.propertyeditors.CustomBooleanEditor.setAsText(CustomBooleanEditor.java:124)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:455)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:427)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:181)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:110)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:58)[spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE] ... 56 more

    Users with the same issue

    marcbouvierdavmarcbouvierdav
    6 times, last one,
    MalcshourMalcshour
    9 times, last one,