I got the same error message.
For me the problem was, that I used @RequestMapping (a Spring annotation) instead of the @QueryParam (JAX-RS annotation) on a method argument due to a copy paste.
The error message was not that informative, but that was the problem for me.