您的位置: 首页 > 文章 > 使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with 使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with 分类: 文章 • 2024-03-19 15:27:22 使用JPA进行update操作时,报org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saveRemarkPhoneNumberController': Injection of resource dependencies failed;的错误 JPA代码 报错信息: 这里是因为没有加nativeQuery的注解,目前系统识别的并不是sql,而是jpl 解决方法如下: 再启动项目,成功! 以上!