title: Jaxb2Marshaller's classesToBeBound property
body: <p>I am trying to configure <code>Jaxb2Marshaller</code> like below:</p>
  
  <pre><code>&lt;bean id="jaxbMarshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller"&gt;
      &lt;property name="classesToBeBound"&gt;
          &lt;list&gt;
              &lt;value&gt;com.test.response1.ResponseType1&lt;/value&gt;
              &lt;value&gt;com.test.response2.ResponseType2&lt;/value&gt;
              &lt;value&gt;com.test.request.Request&lt;/value&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>And it works.</p>
  
  <p>The confusion is dose the order of the classes mentioned in <code>classesToBound</code> matter ?</p>
  
  <p>If I change it to: </p>
  
  <pre><code>&lt;bean id="jaxbMarshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller"&gt;
      &lt;property name="classesToBeBound"&gt;
          &lt;list&gt;
                          &lt;value&gt;com.test.request.Request&lt;/value&gt;
              &lt;value&gt;com.test.response1.ResponseType1&lt;/value&gt;
              &lt;value&gt;com.test.response2.ResponseType2&lt;/value&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>With everything exactly the same I am getting following exception:</p>
  
  <pre><code>org.springframework.beans.TypeMismatchException: Failed to convert value of type 'com.test.response2.ResponseType2' to required type 'com.test.request.Request'
  </code></pre>
  
  <p>The version of <code>spring</code> being used is: <code>3.1.2.RELEASE</code></p>
  
  <p>Can anybody help ?</p>