Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. AbstractAutowireCapableBeanFactory.createBean() has thrown a BeanCreationException
    Spring Beans
    201
    37
    6
  2. AbstractAutowireCapableBeanFactory.populateBean() has thrown a BeanCreationException
    Spring Beans
    246
    40
    6

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.uftwf.service.MemberInquiryService org.uftwf.controller.RequestController.memberInquiryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memberInquiryServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.uftwf.dao.MemberInquiryDao org.uftwf.service.MemberInquiryServiceImpl.memberInquiryDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'articleDao': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory org.uftwf.dao.MemberInquiryDaoImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)
2 matching frames hidden
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)

External results for this pattern (10)

  1. Unknown authorvia Google Groups1 week ago
    Error creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl
    Show stack trace
  2. chucklaivia Stack Overflow3 months ago
    Error creating bean with name 'validator' defined in file [/Users/laiyinan/Documents/后台开发/SaveBearAdmin/out/artifacts/savebear_war_exploded/WEB-INF/classes/spring-context.xml]: Invocation of init method failed; nested exception is
    Show stack trace
  3. ehoogerbeetsvia GitHub3 months ago
    Error creating bean with name 'authenticatedRestTemplateTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplateTest.authenticatedRestTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatedRestTemplate': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.ResttemplateConfig com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate.resttemplateConfig; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resttemplateConfig' defined in file [/Users/ehoogerbeets/src/mojito/restclient/target/classes/com/box/l10n/mojito/rest/resttemplate/ResttemplateConfig.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
    Show stack trace
  4. ed uvia Stack Overflow3 months ago
    Error creating bean with name 'loginController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.maskkk.service.UserService com.maskkk.controller.LoginController.userService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.maskkk.service.UserService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
    Show stack trace
  5. raffianvia GitHub3 months ago
    Error creating bean with name 'app': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'servicename' in value "${servicename}"
    Show stack trace
  6. Lavanya Svia Stack Overflow3 months ago
    Error creating bean with name 'userProfileController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.fec.web.UserProfileController.setContactService(com.fec.service.UserProfileService); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userProfileService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.fec.service.UserProfileService.setUserProfileDAO(com.fec.dao.UserProfileDAO); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userProfileDAO': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.fec.dao.UserProfileDAO.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/app-config.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;
    Show stack trace
  7. Unknown authorvia Stack Overflow3 months ago
    Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
    Show stack trace
  8. rajneekanthvia GitHub4 months ago
    Error creating bean with name 'swagger2Controller': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.lang.String springfox.documentation.swagger2.web.Swagger2Controller.hostNameOverride; nested exception is java.lang.IllegalArgumentException: Cannot convert value [com.lloydstsb.luis.jndi.JNDIContext@3a47fe {}] from source type [JNDIContext] to target type [String]
    Show stack trace
  9. Andrew Fanvia Stack Overflow4 months ago
    Error creating bean with name 'mvcConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'webgoat.user.directory' in value "${webgoat.user.directory}"
    Show stack trace
  10. Andakunvia Stack Overflow4 months ago
    Error creating bean with name 'appConfig': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'welcome.message' in value "${welcome.message}"
    Show stack trace