php - PHPUnit with Symfony Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\DoctrineBundle' not found -


i'm trying testing app made symfony. wrote test , when launch it, following error:

fatal error: class 'doctrine\bundle\doctrinebundle\doctrinebundle' not found in /.../app/appkernel.php on line 17

i had same error symfony's monologbundle, asseticbundle , swiftmailerbundle: i've manually added these bundles app, pheraps have fixed errors, doctrine i've not found solutions yet.

it looks maybe did not install doctrine bundle. try go root of project composer.phar located through console, , try run this:

php composer.phar 

it install dependencies of symfony2,and going work :)


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -