- Invalid bound statement (not found): 出现的错误主要是mybatis-plus和原生的mybatis mavaen包冲突,而使用mybatis-plus后需要同时修改application,properties,将
mybatis.mapper-locations:classpath:mapper/**/*.xml
修改为
mybatis-plus.mapper-locations=classpath:mapper/**/*.xml
否则就会出现Invalid bound statement (not found)错误