changed bean-discovery-mode to annotated