Error, when bean is not in context