- 博客(1)
- 收藏
- 关注
原创 defining a bean of type 'repository.ObjectKeyRepository' in your configuration
现象:springboot项目,启动报:service无法注入repository。 排查:注掉service的component,重新启动,报错换为:EntityManagerFactory that could not be found. 思考:检查jpa依赖是否正常;排查结果正常。 重新检查启动类配置,发现EnableAutoConfigration里exclude了DataSourc...
2020-04-01 11:46:36
44
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人