org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fastJsonpResponseBodyAdvice' defined in URL [jar:file:/E:/1-WPro/PerBlog/target/1-WPro/WEB-INF/lib/fastjson-1.2.22.jar!/com/alibaba/fastjson/support/spring/FastJsonpResponseBodyAdvice.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'java.lang.String[]' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

GitHub | shuaijunlan | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    spring4.3.4与fastjson1.2.22不兼容

    GitHub | 1 month ago | shuaijunlan
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fastJsonpResponseBodyAdvice' defined in URL [jar:file:/E:/1-WPro/PerBlog/target/1-WPro/WEB-INF/lib/fastjson-1.2.22.jar!/com/alibaba/fastjson/support/spring/FastJsonpResponseBodyAdvice.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'java.lang.String[]' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
  2. 0

    UnsatisfiedDependencyException: Error creating bean with name 'queryAndEncodeDatabaseAuthenticationHandler'

    Google Groups | 11 months ago | Alexey Bobr
    factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCookieValueManager' defined in URL [jar:file:/C:/xampp/tomcat/ webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/ web/support/DefaultCasCookieValueManager.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas. CipherExecutor]: : No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework .beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory. NoSuchBeanDefinitionException: No qualifying bean of type [org.jasig.cas. CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value= defaultCookieCipherExecutor)} at org.springframework.beans.factory.support.ConstructorResolver. createArgumentArray(ConstructorResolver.java:749) at org.springframework.beans.factory.support.ConstructorResolver. autowireConstructor(ConstructorResolver.java:185) at org.springframework.beans.factory.support. AbstractAutowireCapableBeanFactory.autowireConstructor( AbstractAutowireCapableBeanFactory.java:1143) at org.springframework.beans.factory.support. AbstractAutowireCapableBeanFactory.createBeanInstance( AbstractAutowireCapableBeanFactory.java:1046) at org.springframework.beans.factory.support. AbstractAutowireCapableBeanFactory.doCreateBean( AbstractAutowireCapableBeanFactory.java:510) at org.springframework.beans.factory.support. AbstractAutowireCapableBeanFactory.createBean( AbstractAutowireCapableBeanFactory.java:482)
  3. 0

    After upgrade to spring boot 1.3.0, app fails to start due to org.springframework.beans.factory.NoSuchBeanDefinitionException

    GitHub | 1 year ago | uthark
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mainEntityManagerFactory' defined in class XXX.MainDbConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.boot.autoconfigure.orm.jpa.EntityManagerFactoryBuilder]: : No qualifying bean of type [org.springframework.boot.autoconfigure.orm.jpa.EntityManagerFactoryBuilder] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.boot.autoconfigure.orm.jpa.EntityManagerFactoryBuilder] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reloadablePropertyPostProcessor'

    Stack Overflow | 2 years ago | Renish
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reloadablePropertyPostProcessor' defined in file** [/Users/xxxxx/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/spring3-mvc-maven-xml-hello-world/WEB-INF/classes/com/demo/design/properties/internal/ReloadablePropertyPostProcessor.class]: **Unsatisfied dependency expressed through constructor argument with index 0 of type** [com.demo.design.properties.internal.ReadablePropertySourcesPlaceholderConfigurer]: : No qualifying bean of type [com.demo.design.properties.internal.ReadablePropertySourcesPlaceholderConfigurer] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.demo.design.properties.internal.ReadablePropertySourcesPlaceholderConfigurer] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
  6. 0

    Cannot create bean when deploying on tomcat on aws vs jetty locally

    Stack Overflow | 5 years ago | kalinear
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [UserDaoImpl]: : No matching bean of type [UserDaoImpl] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [UserDaoImpl] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

    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.UnsatisfiedDependencyException

      Error creating bean with name 'fastJsonpResponseBodyAdvice' defined in URL [jar:file:/E:/1-WPro/PerBlog/target/1-WPro/WEB-INF/lib/fastjson-1.2.22.jar!/com/alibaba/fastjson/support/spring/FastJsonpResponseBodyAdvice.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'java.lang.String[]' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

      at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray()
    2. Spring Beans
      AbstractBeanFactory$1.getObject
      1. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
      2. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      7 frames