schmittjoh / JMSAopBundle

Adds AOP capabilities to Symfony
200 stars 53 forks source link

Error when installing the bundle: JMSAopBundle not found #1

Closed tristanbes closed 13 years ago

tristanbes commented 13 years ago

PHP Fatal error: Class 'JMS\AopBundle\JMSAopBundle' not found in /Volumes/Elao/workspace/myproject/app/AppKernel.php on line 20

I tryed clearing the cache. But it had no effect.

Autoloader :

`'JMS'              => __DIR__.'/../vendor/bundles',`

Kernel :

        `new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(),`
        `new JMS\AopBundle\JMSAopBundle(),`

Deps :

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

[JMSAopBundle]
    git=https://github.com/schmittjoh/JMSAopBundle.git
    target=/bundles/JMS/JMSAopBundle

I have a lot of bundle installed and i thought i knew how to install them, but i must say that i'm stuck here.

schmittjoh commented 13 years ago

There is a small typo in your deps file, it should be "target=/bundles/JMS/AopBundle".

tristanbes commented 13 years ago

oh crap, stupid error. Thanks ;-)