mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
报错信息:
ERROR c.h.f.w.e.GlobalExceptionHandler - [handleRuntimeException,65] - 请求地址'/aicheck/defection',发生未知异常.
org.apache.ibatis.binding.BindingException: (not found): com.htkj.aicheck.mapper.CheckedDefectionMapper2.selectDefect
at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:235)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.<init>(MybatisMapperMethod.java:51)
解决:
mapper.xml文件名不能出现数字