feign远程服务调用报错问题

1.UnsatisfiedDependencyException

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'feignConsumerController': Unsatisfied dependency expressed through field 'remoteProviderService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.jt.feign.RemoteProviderService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Method RemoteProviderService#echoMessage(String) not annotated with HTTP method type (ex. GET, POST)

feign远程服务调用报错问题_第1张图片

 

你可能感兴趣的:(feign远程服务调用报错问题)