问题:Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'id_number' in 'class com.sky.entity.Employee'] with root cause
1、排除问题:驼峰命名已在配置文件中。设置断点,发现参数传递正常。
2、查看entity参数和SQL
3、修改代码,测试