检查下微服务接口的注解 @RestController 和 @Controller 是否不一致。
比如消费方A的前端控制器使用的 @RestController注解,但是微服务接口B使用 @Controller 注解,如果在A里面调用B的服务,则会出现逻辑处理成功,但是返回404的异常。
检查下微服务接口的注解 @RestController 和 @Controller 是否不一致。
比如消费方A的前端控制器使用的 @RestController注解,但是微服务接口B使用 @Controller 注解,如果在A里面调用B的服务,则会出现逻辑处理成功,但是返回404的异常。