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}]

GitHub | 0312birdzhang | 3 months ago
  1. 0

    GitHub comment 1#245217793

    GitHub | 3 months ago | 0312birdzhang
    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}]
  2. 0

    What could be the possible cause of this error [ERROR,ContextLoader] Context initialization failed?

    Stack Overflow | 4 years ago | Janderson Almeida
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not instantiate collection persister org.hibernate.persister.collection.OneToManyPersister
  3. 0

    Spring ...BeanCreationException: Error creating bean with name 'sqlSessionFactoryWrite' - CSDN博客

    csdn.net | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactoryWrite' defined in URL [file:/E:/zhonglian/CanYin-www/target/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 17; The content of element type "configuration" must match "(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?,objectWrapperFactory?,plugins?,environments?,databaseIdProvider?,mappers?)".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Vaadin 6 + Spring 3 Integration | Navin Peiris

    wordpress.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘vaadinSpringDemoApplication’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.navinpeiris.vaadin_spring.MainWindow com.navinpeiris.vaadin_spring.VaadinSpringDemoApplication.mainWindow; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mainWindow’: Scope ‘session’ is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
  6. 0

    mybatis(错误一) 项目启动时报“Result Maps collection already contains value forxxx”的解决方案 - zengdeqing2012的专栏 - 博客频道 - CSDN.NET

    csdn.net | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tempTestTableMapper' defined in URL [jar:file:/E:/.m2/repository/cn/xyx/xyx.dsw.dao/1.0/xyx.dsw.dao-1.0.jar!/xyx/dsw/dao/mapper/admin/quotationwish/TempTestTableMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value for xyx.dsw.dao.mapper.admin.quotationwish.TempTestTableMapper.TempTestTableResult

  1. Andreas Häber 2 times, last 4 weeks ago
  2. wendellpereira 12 times, last 2 months ago
  3. marcbouvierdav 7 times, last 3 months ago
  4. linxiaolong 7 times, last 4 months ago
  5. ggghjh 1 times, last 4 months ago
1 more registered users
94 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1147)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633)
    9 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    2 frames
  4. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    3 frames
  5. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
    5 frames
  6. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  7. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:224)
    2 frames
  8. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  9. runjettyrun
    Bootstrap.main
    1. runjettyrun.Bootstrap.main(Bootstrap.java:97)
    1 frame