Announcement Announcement Module
Collapse
No announcement yet.
Issue in Integration M1 and Spring 3.0 GA Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue in Integration M1 and Spring 3.0 GA

    My Gateway beans are not getting loaded. I am using Integration v2.0.0.M1 and Spring3.0.0 GA.


    Here is the Stack Trace for reference


    Cannot resolve reference to bean 'myGatewayBean' while setting bean property 'myGatewayBean'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'myGatewayBean': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/convert/support/DefaultConversionService
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:328)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1305)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:1067)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:511)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:450)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 90)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:287 )
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:189)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:322)
    ... 89 more
    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'busCacheGateway': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/convert/support/DefaultConversionService
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1401)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:512)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:450)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 90)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:287 )
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:189)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:322)
    ... 99 more
    Caused by: java.lang.NoClassDefFoundError: org/springframework/core/convert/support/DefaultConversionService
    at org.springframework.integration.gateway.GatewayPro xyFactoryBean.createGatewayForMethod(GatewayProxyF actoryBean.java:228)
    at org.springframework.integration.gateway.GatewayPro xyFactoryBean.onInit(GatewayProxyFactoryBean.java: 145)
    at org.springframework.integration.endpoint.AbstractE ndpoint.afterPropertiesSet(AbstractEndpoint.java:6 9)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1460)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1398)
    ... 106 more

  • #2
    That is a known issue, since DefaultConversionService has been removed during Milestones of Spring 3.0. This was already taken care of in SI trunk and is available with milestones. Also, SI 2.0.M2 should be out before xmas.
    Cheers

    Comment


    • #3
      Oleg is right. In order to run Spring 3.0 GA with Spring Integration, you will need either M2 (on target for end of next week) or a snapshot after 724:
      http://twitter.com/m_f_/status/6737427964

      Comment

      Working...
      X