Re-arrange priority of error message
Upgrade Jersey to 2.13

Fixes gh-1752