Completely remove Jersey 1 from classpath.
When there were multiple versions of Jersey, Java Classloader might pick the wrong one for a certain class name.