问题
A服务调B服务 报:
Error creating bean with name 'com.xzlcorp.contact.api.rest.IssueRESTAPI': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException RequestParam.value() was empty on parameter 0
// 主要看这个
nested exception is java.lang.IllegalStateException RequestParam.value() was empty on parameter 0
Spring Cloud 中的服务启动时出现的异常:
原因
是B服务中的某个方法传的参数,如
@RequestParam(“userId”) String userId 中的扩号 加里面的参数名忘记写了。 低级 以此记录