2

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?

4

1 回答 1

7

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
于 2012-10-20T10:07:04.423 回答