Pattern selector

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

  1. AbstractAutowireCapableBeanFactory.doCreateBean() has thrown a BeanCreationException
    Spring Beans
    1
    0
    0
  2. ConstructorResolver.autowireConstructor() has thrown a BeanInstantiationException
    Spring Beans
    1
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.IllegalArgumentException: argument type mismatch
8 matching frames hidden
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'name' defined in class path resource [test/appcontext/string-prototype.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.lang.String]: Illegal arguments for constructor; nested exception is java.lang.IllegalArgumentException: argument type mismatch
2 matching frames hidden
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:823)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
6 frames hidden

External results for this pattern (3)

  1. Thomas Biskupvia Spring JIRA4 months ago
    Error creating bean with name 'name' defined in class path resource [test/appcontext/string-prototype.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.lang.String]: Illegal arguments for constructor; nested exception is java.lang.IllegalArgumentException: argument type mismatch
    Show stack trace
  2. Timofey Asyrkinvia Spring JIRA5 months ago
    Error creating bean with name 'client' defined in file [/Users/timofeya/openSource/spring-aop-problem/target/classes/springbug/Client.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springbug.Client]: Illegal arguments for constructor; nested exception is java.lang.IllegalArgumentException: argument type mismatch
    Show stack trace
  3. avagadiavia Stack Overflow2 years ago
    Error creating bean with name 'testLauncher' defined in URL [bundleentry://105.fwk10703525/META-INF/spring/service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.test.TestLauncher]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: URI scheme is not "file"
    Show stack trace