mybaits分布查询,打包jar后无法找打对应接口
使用mybatis的分布查询,在idea中直接运行没有任何问题,但是打包为jar包后运行就无法找对应的接口

org.apache.ibatis.binding.BindingException: Type interface com.jd.mapper.GoodsInfoMapper is not known to the MapperRegistry.

检查jar包所有的文件都没有问题:

完整项目在:https://github.com/smile-shark/jd-project-smileshark/tree/master