org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy29] to required type [services.crud.AbstractCRUDService] for property 'servicioInstitucionCRUDService'

spring.io | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Autoproxying - Spring Forum

    spring.io | 5 months ago
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy29] to required type [services.crud.AbstractCRUDService] for property 'servicioInstitucionCRUDService'

    Root Cause Analysis

    1. org.springframework.beans.TypeMismatchException

      Failed to convert property value of type [$Proxy29] to required type [services.crud.AbstractCRUDService] for property 'servicioInstitucionCRUDService'

      at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary()
    2. Spring Beans
      DefaultListableBeanFactory.getBeansOfType
      1. org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(BeanWrapperImpl.java:839)
      2. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:584)
      3. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
      4. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
      5. org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
      6. org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
      12. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
      13. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)
      15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
      16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
      17. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
      18. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
      19. org.springframework.beans.factory.support.AbstractBeanFactory.getType(AbstractBeanFactory.java:342)
      20. org.springframework.beans.factory.support.DefaultListableBeanFactory.isBeanTypeMatch(DefaultListableBeanFactory.java:249)
      21. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:144)
      22. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:198)
      23. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:192)
      23 frames
    3. Spring Context
      AbstractApplicationContext.getBeansOfType
      1. org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:608)
      1 frame