diff --git a/src/DependencyInjection/JsonRpcHttpServerExtension.php b/src/DependencyInjection/JsonRpcHttpServerExtension.php
index <HASH>..<HASH> 100644
--- a/src/DependencyInjection/JsonRpcHttpServerExtension.php
+++ b/src/DependencyInjection/JsonRpcHttpServerExtension.php
@@ -153,10 +153,6 @@ class JsonRpcHttpServerExtension implements ExtensionInterface, CompilerPassInte
     {
         $mappingAwareServiceDefinitionList = $this->findAndValidateMappingAwareDefinitionList($container);
 
-        if (0 === count($mappingAwareServiceDefinitionList)) {
-            return;
-        }
-
         $jsonRpcMethodDefinitionList = (new JsonRpcMethodDefinitionHelper())
             ->findAndValidateJsonRpcMethodDefinition($container);
Fix when there is no mapping collector defined