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

使用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

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