adding spring and java ee dependencies