springboot中同时引入jdbc和jpa报错问题解决(The bean 'userRepository', defined in null, could not be registered..)
1.在springboot中同时使用jdbcTemplate和Jpa的时候,项目启动报错,错误信息为:(Thebean'userRepository',definedinnull,couldnotberegistered.Abeanwiththatnamehasalreadybeendefinedinnullandoverridingisdisabled.)2.截图如下:3.网上搜索多种办法未能解