org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
注意你的SqlSessionFactory
加上
sqlSessionFactory.setMapperLocations(new PathMatchingResourcePatternResolver().getResources(“classpath:mappers/*.xml”));
路径是你自己的mapper路径
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
注意你的SqlSessionFactory
加上
sqlSessionFactory.setMapperLocations(new PathMatchingResourcePatternResolver().getResources(“classpath:mappers/*.xml”));
路径是你自己的mapper路径