原文:Spring Boot报错Error creating bean with name 'userRepository': Invocation of init method failed; nested exception

问题:出现UserRePository注入创建失败,一定先检查所有的 注解是否已经标记 问题发现:entity下的实体类上面没有加注解 任何基于hibernate的实体类一定要加上 Entity注解 ...

2019-12-22 10:50 0 7222 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM