Results 1 to 2 of 2

Thread: injection problem

  1. #1
    Join Date
    Mar 2011
    Posts
    3

    Default 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 at 08:57 AM.

  2. #2

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •