使用dubbo做接口调用,出现Invalid bound statement (not found): com.lee.mapper.ProjectMapper.addProject问题,在工程内调用整个方法是正常的
代码
这种问题,八成是你的mapper.xml文件没有加载到,你怎么配置的?
mapper.xml
mybatis.mapper-locations[0]=classpath:mapper/**/*-mapper.xml