当前位置:Gxlcms > 数据库问题 > spring boot使用mongodb时,xxxRepository不能Autowired的问题

spring boot使用mongodb时,xxxRepository不能Autowired的问题

时间:2021-07-01 10:21:17 帮助过:20人阅读

= {"com.hundsun.ta.base.log.mongo"}) public class BaseServiceAppConfig { ...其它配置... }

这样就可以扫描到了。

spring boot使用mongodb时,xxxRepository不能Autowired的问题

标签:config   auto   ble   启动   package   scan   扫描   enable   ase   

人气教程排行