changes to spring project with annotations