在学习SpringBoot中使用Repository时出现这种错误
或者使用findOne也会报错,只需要改为
应该是SpringBoot版本的原因,fingOne()方法好像已经不用了。
相关文章: