symfonyjmsserializerbundlesymfony2

Class 'Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension' not found


After installing JMS Serializer Bundle following the provided instructions using the deps file, I get the following error:

Fatal error: Class 'Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension' not found in /vendor/bundles/JMS/SerializerBundle/DependencyInjection/JMSSerializerExtension.php on line 30

The class does not exist within Symfony. I am using Symfony v2.0.17. Is there any fix for this?


Solution

  • It's not mentioned in the docs that you need to use a particular version of the bundle for Symfony 2.0.x:

    [JMSSerializerBundle]
        git=git://github.com/schmittjoh/JMSSerializerBundle.git
        target=bundles/JMS/SerializerBundle
        version=0.9.0