Check that bean name is symbol