mybatisPlus相关:mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
注意你的SqlSessionFactory

加上
sqlSessionFactory.setMapperLocations(new PathMatchingResourcePatternResolver().getResources(“classpath:mappers/*.xml”));

路径是你自己的mapper路径

你可能感兴趣的:(mybatisPlus相关:mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement)