Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘gbPlatInfoFuture’: Unsatisfied dependency expressed through field ‘gbPlatInfoRestService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘gbPlatInfoRestService’: Unsatisfied dependency expressed through field ‘gbPlatInfoClient’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘GbPlatInfoClient’: FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0
项目组一起找了好久,就因为我自认为的知识盲区问题
我之前编码是认为@RequestParam注解后面只有一个参数,所以没写括号里面的Value值,其实是不可以的。
特此记录