reverted to jersey 2.10.1 since 2.11 seems to have some issues