79087139

Date: 2024-10-14 17:33:31
Score: 0.5
Natty:
Report link

Your Java compiler does not store method parameter names in bytecode. Therefore, Spring cannot use reflection to match the value it receives in a request with a parameter of the method that should handle this request. To solve this problem, you can enable storing parameter names in bytecode using the -parameters compiler option. Or you can explicitly specify the name of the parameter to match in the @PathVariable("code") annotation.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrey Smelik