今天在写网关关于远程调用Feign的时候报的一个错误,PathVariable注解为空。仔细看了一下代码发现问题出在用@PathVariable注解的时候 

@PathVariable Integer id 这样写没有写明其value,正确写法 
@PathVariable(value = “id”) Integer id

 

相关文章:

  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2021-12-01
  • 2021-08-24
  • 2021-12-26
猜你喜欢
  • 2021-06-16
  • 2022-03-05
  • 2022-12-23
  • 2021-10-04
  • 2021-05-22
  • 2022-12-23
  • 2021-09-02
相关资源
相似解决方案