Upgraded Spring version and changed to the Inject annotation.