Problem description:
Result type not match for select id="selectUser" srcType: com.kuang.pojo.User targetType: com.kuang.pojo.User
Solution:
method one:
Re-alias the entity class in mybatis-config.xml;
<typeAlias type="com.kuang.pojo.User" alias="User"/>
Method Two:
There are multiple User classes in your project, just rename User to Users;