Revised resteasy spring

some minor fixes