title: There is no getter for property named 'tablename' in 'class java.lang.String'
body: <p>I got the error <code>There is no getter for property named 'tablename' in 'class java.lang.String'</code> when I'm using mybatis.</p>
  
  <p>My mapper xml is like this:</p>
  
  <pre><code>&lt;mapper namespace="com.company.mapper.BasicMapper"&gt;
      &lt;update id="dropTable" parameterType="String"&gt;
          DROP TABLE ${tablename}
      &lt;/update&gt;
  &lt;/mapper&gt;
  </code></pre>
  
  <p>The interface is like this:</p>
  
  <pre><code>public interface BasicMapper {
      void dropTable(String tablename);
  }
  </code></pre>
  
  <p>I use it in this way:</p>
  
  <pre><code>public void dropTable(String tablename) {
      basicMapper.dropTable(tablename);
  }
  </code></pre>
  
  <p>I tried to replace <code>${tablename}</code> with <code>#{tablename}</code>, but it didn't help. How can I make it work?</p>