CK博客
  • 首页
  • 分类
  • 标签
  • 瞬间
  • 图库
  • cky
  • 赞赏

thumbnail of the cover of the post

Feign远程调用异常-PathVariable annotation was empty on param 0.

一:PathVariable annotation was empty on param 0. 产生此异常的原因是路径参数(PathVariable)有问题,主要需要注意2个地方, 1,接口地址后必须有参数(使用花括号标识):{xxx} 2,feign调用接口中的路径参数注解PathVariable


site logo

Hi,Friend

  • 首页
  • 分类
  • 标签
  • 瞬间
  • 图库
  • cky
  • 赞赏

© 2025 CK博客

Powered by Halo • Crafted with by LIlGG

© 2025 CK博客