spring boot 开启自动驼峰后 抛异常(org.apache.ibatis.binding.BindingException)
如题 。本人使用Spring boot 为了节约 resultMap的时间花费, 使用自动驼峰来代替
可当我开启驼峰后,
org.apache.ibatis.session.Configuration configuration = sqlSessionFactoryBean.getObject().getConfiguration();
configuration.setMapUnderscoreToCamelCase(true);
sqlSessionFactoryBean.setMapperLocations(resolver.getResources("classpath:/mybatis/*.xml"));
报出 异常:
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.lodestonemc.mapper.SystemUserMapper.list
namespace 正常 方法名正常
请大神指点