In sec. 3.1.1 of
https://jersey.java.net/documentation/latest/jaxrs-resources.html, you
state that the default regular expression for path variables is "[^/]+?".
This seems wrong. I assume what you mean is "one or more non-slash
characters"; what the above says, is "one or more non-slash characters, but
as few as possible"---effectively, just one non-slash character. Didn't
you mean "[^/]+"?
Best,
Wacek