dro44817 2015-03-30 13:18
浏览 56
已采纳

Symfony2:您已请求不存在的服务“jms_aop.pointcut_container”。

I'm relatively new to symfony. I have created a symfony project, and I am trying to require JMSDiExtraBundle. The thing is that when I run the composer update command I get the following error:

    Updating the "app/config/parameters.yml" file


    [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
    You have requested a non-existent service "jms_aop.pointcut_container".



    Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception



      [RuntimeException]
      An error occurred when executing the ""cache:clear --no-warmup"" command.



    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev]        [--no-dev] [--lock]
     [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
     [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]



    C:\pathToProject>[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
    The system cannot find the path specified.

Im requiring: "jms/di-extra-bundle": "1.5.0" but I have also tried :"jms/di-extra-bundle": "1.5.*@dev" My symfony version is : 2.6.5

Any help would be verry appreciated.

  • 写回答

2条回答 默认 最新

  • dsk61780 2015-03-30 14:11
    关注

    I have resolved my problem. I was including the bundles in the AppKernel.php file before I had run the command: php composer.phar update.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog