简体   繁体   中英

Getting 'CG\Proxy\InterceptorLoaderInterface' error with JMS Bundle in symfony 2

I am trying to install symfony2 JMS DI Extra bundle. But i keep getting this error

Fatal error: Interface 'CG\\Proxy\\InterceptorLoaderInterface' not found in /home/xxxxx/public_html/XXXX/Symfony/vendor/bundles/JMS/AopBundle/Aop/InterceptorLoader.php on line 30

I have found the solution here

https://github.com/schmittjoh/JMSAopBundle/issues/7

But could not able to understand where to fix the path

I think that's cg-library is missing. Open a command prompt into your Symfony vendor folder and issue:

git clone https://github.com/schmittjoh/cg-library.git cg-library

The add cg-library into your deps file:

[cg-library]
    git=https://github.com/schmittjoh/cg-library.git
    target=/cg-library

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM