[英]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: 按照提供的说明使用deps文件安装JMS Serializer Bundle后,出现以下错误:
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. 该类在Symfony中不存在。 I am using Symfony v2.0.17. 我正在使用Symfony v2.0.17。 Is there any fix for this? 有没有解决这个问题?
It's not mentioned in the docs that you need to use a particular version of the bundle for Symfony 2.0.x: 在文档中没有提到您需要为Symfony 2.0.x使用特定版本的捆绑软件:
[JMSSerializerBundle]
git=git://github.com/schmittjoh/JMSSerializerBundle.git
target=bundles/JMS/SerializerBundle
version=0.9.0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.