convert jersey to spring