You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After hours of research and debugging I have found this solution. Just now I found a little hint in your documentation: (if the code was compiled with -parameters flag). I would like to see that more visible or even in the exception..
The text was updated successfully, but these errors were encountered:
When using OpenFeign in the following way (no name attribute specified):
You may encounter the following exception:
... annotation was empty on param 0
This happens because
@Param long catalogId
is compiled as@Param long arg0
. OpenFeign will then fail to read the parameter name via reflection.To fix this, you need to pass the
parameters
flag to the Java compiler:After hours of research and debugging I have found this solution. Just now I found a little hint in your documentation:
(if the code was compiled with -parameters flag)
. I would like to see that more visible or even in the exception..The text was updated successfully, but these errors were encountered: