PathVariable annotation was empty on param 0.

Feign remote call -PathVariable annotation was empty on param 0. problem solving

Here Insert Picture Description
Look at my interfaces Feign interface call
Here Insert Picture Description
to see error prompt, PathVariable notes is empty. Carefully looked at the code found the problem in time with @PathVariable comment, and then I added value this is the correct way to call the project a successful start
Here Insert Picture Description

Published 24 original articles · won praise 42 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_42875895/article/details/104775817