you miss the additional arguments here that tell the compiler pass which manager to use and whether phpcr is activated. see https://github.com/symfony-cmf/RoutingBundle/blob/master/CmfRoutingBundle.php#L66-L67