org.springframework.beans.factory.UnsatisfiedDependencyException

Error creating bean with name 'metadataServiceImpl' defined in class path resource [core-gwt-context.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.kuali.student.core.dictionary.service.old.DictionaryService[]]: Could not convert constructor argument value of type [java.lang.String] to required type [[Lorg.kuali.student.core.dictionary.service.old.DictionaryService;]: Failed to convert value of type [java.lang.String] to required type [org.kuali.student.core.dictionary.service.old.DictionaryService[]]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [org.kuali.student.core.dictionary.service.old.DictionaryService]: no matching editors or conversion strategy found

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1306

  • via Kuali JIRA by Kyle Campos, 1 year ago
    Error creating bean with name 'metadataServiceImpl' defined in class path resource [core-gwt-context.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type
  • via Kuali JIRA by Kyle Campos, 1 year ago
    Error creating bean with name 'metadataServiceImpl' defined in class path resource [core-gwt-context.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type
  • via Spring JIRA by Iwein Fuld, 1 year ago
    [org.springframework.integration.channel.MessageChannel]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [org.springframework.integration.channel.MessageChannel]: no matching editors or conversion strategy found
  • Stack trace

    • org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'metadataServiceImpl' defined in class path resource [core-gwt-context.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.kuali.student.core.dictionary.service.old.DictionaryService[]]: Could not convert constructor argument value of type [java.lang.String] to required type [[Lorg.kuali.student.core.dictionary.service.old.DictionaryService;]: Failed to convert value of type [java.lang.String] to required type [org.kuali.student.core.dictionary.service.old.DictionaryService[]]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [org.kuali.student.core.dictionary.service.old.DictionaryService]: no matching editors or conversion strategy found at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:243) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:923) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:833) 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) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.core.assembly.dictionary.old.MetadataServiceImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'constraint.single' defined in class path resource [org-orchestration-dictionary.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'messageId' of bean class [org.kuali.student.core.assembly.data.ConstraintMetadata]: No property 'messageId' found at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:111) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) ... 13 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'constraint.single' defined in class path resource [org-orchestration-dictionary.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'messageId' of bean class [org.kuali.student.core.assembly.data.ConstraintMetadata]: No property 'messageId' found at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:478) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at org.kuali.student.core.assembly.dictionary.old.MetadataServiceImpl.init(MetadataServiceImpl.java:112) at org.kuali.student.core.assembly.dictionary.old.MetadataServiceImpl.<init>(MetadataServiceImpl.java:97) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:96) ... 16 more Caused by: org.springframework.beans.InvalidPropertyException: Invalid property 'messageId' of bean class [org.kuali.student.core.assembly.data.ConstraintMetadata]: No property 'messageId' found at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:382) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) ... 37 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago