使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saveRemarkPhoneNumberController': Injection of resource dependencies failed;的错误
JPA代码

使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with

报错信息:

使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with
这里是因为没有加nativeQuery的注解,目前系统识别的并不是sql,而是jpl

解决方法如下:使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with

再启动项目,成功!
以上!

相关文章:

  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-11-30
  • 2021-10-08
猜你喜欢
  • 2021-06-19
  • 2021-05-22
  • 2021-07-14
  • 2021-09-17
  • 2021-11-01
  • 2021-12-29
  • 2021-11-21
相关资源
相似解决方案