bean definition error