title: Spring inject map issue
body: <p>I am seeing the below error which trying to inject a map into a bean. I am not sure how Spring is deducing that the map that I am trying to inject is of type org.apache.commons.collections.map.LinkedMap. How can I solve this issue?</p>
  
  <blockquote>
    <p>[org.apache.commons.collections.map.LinkedMap] to required type
    [java.util.LinkedHashMap] for property 'asyncConnectorDaoMap'; nested
    exception is java.lang.IllegalArgumentException: Cannot convert value
    of type [org.apache.commons.collections.map.LinkedMap] to required
    type [java.util.LinkedHashMap]</p>
  </blockquote>
  
  <p><strong>Spring Config</strong></p>
  
  <pre><code>&lt;bean id="fulfillment.management.AsyncConnectorFactory" class="com.service.async.AsyncConnectorFactory"&gt;      &lt;property name="asyncConnectorDaoMap"&gt;         &lt;map key-type="java.lang.String" value-type="com.service.async.AsyncConnectorDao"&gt;
                       &lt;entry key="ACCOUNT_MANAGEMENT_CONTROLLER" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
                       &lt;entry key="CUSTOMER_SERVICE" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
                       &lt;entry key="ACCOUNT_SERVICE" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
                       &lt;entry key="LOCATION_SERVICE" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;        &lt;/map&gt;       &lt;/property&gt;  &lt;/bean&gt;
  </code></pre>
  
  <p><strong>Code Below</strong></p>
  
  <pre><code>import java.util.LinkedHashMap;
  
  
  public class AsyncConnectorFactory {
  
      private LinkedHashMap&lt;String, AsyncConnectorDao&gt; asyncConnectorDaoMap;
  
      public LinkedHashMap&lt;String, AsyncConnectorDao&gt; getAsyncConnectorDaoMap() {
          return asyncConnectorDaoMap;
      }
  
      public void setAsyncConnectorDaoMap(
              LinkedHashMap&lt;String, AsyncConnectorDao&gt; asyncConnectorDaoMap) {
          this.asyncConnectorDaoMap = asyncConnectorDaoMap;
      }
  
      public AsyncConnectorDao getAsyncConcurrentConnectorDao(String serviceIdentifier) {
          return asyncConnectorDaoMap.get(serviceIdentifier);
      }
  }
  </code></pre>
  
  <p><strong>Modified Working Config</strong></p>
  
  <pre><code>    &lt;bean id="fulfillment.management.AsyncConnectorFactory" class="com.service.async.AsyncConnectorFactory"&gt;
        &lt;property name="asyncConnectorDaoMap" ref="asyncConnectorDaoMap1"/&gt;
  &lt;/bean&gt; 
  
  &lt;util:map id="asyncConnectorDaoMap1" map-class="java.util.LinkedHashMap"&gt;
               &lt;entry key="ACCOUNT_MANAGEMENT_CONTROLLER" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
               &lt;entry key="CUSTOMER_SERVICE" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
               &lt;entry key="ACCOUNT_SERVICE" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
               &lt;entry key="LOCATION_SERVICE" value-ref="core.commons.AsyncConnectorDao"&gt;&lt;/entry&gt;
  </code></pre>
  
  <p></p>