首页 > 数据库技术 > 详细

spring data MongoDB 重复依赖 Repositories

时间:2021-09-24 02:29:29      阅读:50      评论:0      收藏:0      [点我收藏+]

The bean ‘friendLinkMapper‘, defined in com.lyra.admin.mapper.FriendLinkMapper defined in @EnableMongoRepositories declared on AdminApplication, could not be registered. A bean with that name has already been defined in file [/home/lyra/IdeaProjects/imooc-news/news-admin/target/classes/com/lyra/admin/mapper/FriendLinkMapper.class] and overriding is disabled.

新建一个包 将repositories放入即可

spring data MongoDB 重复依赖 Repositories

原文:https://www.cnblogs.com/lyraHeartstrings/p/15312228.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!