Symfony 2.0.9 更新时出错
运行 php bin/vendors install 时出现错误:
致命错误:在 C:\Program Files (x86)\Zend\Apache2\htdocs\myproject\vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\ 中找不到类“Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand”第 18 行的GenerateDoctrineCommand.php
这是我的 deps 文件: http://pastebin.com/FZYRzaFb 有没有办法解决这个问题,也许可以通过在 deps 文件中设置不同版本的捆绑包?
when running php bin/vendors install
i get the error:
Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand' not found in C:\Program Files (x86)\Zend\Apache2\htdocs\myproject\vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCommand.php on line 18
And here is my deps file:
http://pastebin.com/FZYRzaFb
Is there a way i can fix this, maybe by setting different versions of bundles in deps files?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,确实如此,您必须为 SensioGeneratorBundle 使用
version=origin/2.0
请参阅此帖子
Yes, exactly, you must use
version=origin/2.0
for the SensioGeneratorBundleSee this thread