title: Mybatis @Insert Error: nested exception is org.apache.ibatis.reflection.ReflectionException
body: <pre><code>org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'testStr' in 'class Test.TestModel'.
  </code></pre>
  
  <p>the error occured in the following methods:</p>
  
  <pre><code>public interface TestMapper {
      @Insert({"INSERT INTO PLUProps.Test VALUES(#{id}, #{testStr})"})
      int insertData(TestModel testModel);
  }
  
  //Test
  private int insertData(){
      TestModel testModel = new TestModel();
      testModel.setId(1);
      testModel.setTestSTr("123123");
      return testMapper.insertData(testModel);
  }
  </code></pre>
  
  <p>In the entity class of TestModel, I used @Data annotation from lombok to automatically generate setter and getter methods.</p>
  
  <pre><code>@Data
  public class TestModel implements Serializable {
      private static final long serialVersionUID = -1180681799256416275L;
      private int id;
      private String testSTr;
  }
  </code></pre>
  
  <p>Is the error caused by the wrong @Insert statement I wrote? Thanks.</p>