Spring project using jersey and spring data jpa