我正在尝试实现一个使用spring boot和jpa的服务器。 我想添加一个方法来更新数据库(MySQL)中的值,因此,我通过引用this answer添加了该方法。从那时起,程序就无法工作,并抛出此异常: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creatingbean with name 'requestMappingHandlerAdapter' defined in clas
但是,每当我尝试启动它时,我都会收到以下错误:
Error creating bean with name 'requestMappingHandlerAdapter' defined in classorg/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean]: Factory method '