Announcement Announcement Module
Collapse
No announcement yet.
injection problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • injection problem

    java.lang.IllegalStateException: Cannot convert value of type [org.apache.activemq.ActiveMQConnectionFactory] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy found


    I have no idea why this is happening, why my activemqconnectionFactory is beeing injected on sqlDatasource??? I didnt do that

    any idea? thanks
    Last edited by andreh; Mar 23rd, 2011, 09:57 AM.

  • #2
    Not without at least a glimpse of your spring config.

    A wild guess: you named a bean dataSource that's no dataSource and turned autowiring on.

    Comment

    Working...
    X