title: No matching factory method for IOUtils static method
body: <pre><code>&lt;bean id="testMessage"
      class="org.apache.commons.io.IOUtils" factory-method="toString" &gt;
      &lt;constructor-arg type="java.io.InputStream" value="classpath:data/exampleMessage.xml" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Anyone know why I would be getting this error when calling this static toString method from Apache IOUtils in Spring? </p>
  
  <pre><code>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
  with name 'testMessage' defined in class path resource [data.xml]: No    
  matching factory method found: factory method 'toString'
  </code></pre>