base-package的路径不对,导致@Autowire提示trainingRepository错误。

E:DDDworkspaceeas-ddd-mastereas-trainingsrc	est
esourcesspring-mybatis.xml
base-package的路径不对,导致@Autowire提示trainingRepository错误。
<context:component-scan base-package="xyz.zhangyi.ddd.eas.valueadded.trainingcontext" />
原文地址:https://www.cnblogs.com/guanghuiqq/p/14477315.html