doctrine/mongodb-odm — Issue #257: 'Doctrine\Common\Util\ClassUtils' not found after upgrading to Symfony 2.0.10
Author: kristianawright
Created: 2012-02-20 19:52:08+00:00
State: open

I'm getting the following error after upgrading to Symfony 2.0.10:

```
Fatal error: Class 'Doctrine\Common\Util\ClassUtils' not found in /var/www/dev/linx/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Proxy/ProxyFactory.php on line 160

Call Stack:
0.0017 328856 1. {main}() /var/www/dev/linx/app/console:0
0.0285 2177140 2. Symfony\Component\Console\Application->run() /var/www/dev/linx/app/console:22
0.0329 2357728 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/dev/linx/vendor/symfony/src/Symfony/Component/Console/Application.php:118
0.0329 2357728 4. Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() /var/www/dev/linx/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:66
0.0329 2357728 5. Symfony\Component\HttpKernel\Kernel->boot() /var/www/dev/linx/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80
0.0389 2546620 6. Symfony\Component\HttpKernel\Kernel->initializeContainer() /var/www/dev/linx/app/bootstrap.php.cache:513
1.5607 12215260 7. Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() /var/www/dev/linx/app/bootstrap.php.cache:791
1.5897 14548400 8. Symfony\Bundle\DoctrineMongoDBBundle\CacheWarmer\ProxyCacheWarmer->warmUp() /var/www/dev/linx/vendor/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:47
1.7234 18181588 9. Doctrine\ODM\MongoDB\Proxy\ProxyFactory->generateProxyClasses() /var/www/dev/linx/vendor/bundles/Symfony/Bundle/DoctrineMongoDBBundle/CacheWarmer/ProxyCacheWarmer.php:73
1.7234 18183532 10. Doctrine\ODM\MongoDB\Proxy\ProxyFactory->generateProxyClass() /var/www/dev/linx/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Proxy/ProxyFactory.php:136
```

Here are my relevant deps:

```
[symfony]
git=http://github.com/symfony/symfony.git
version=v2.0.10

[doctrine-common]
git=http://github.com/doctrine/common.git
version=2.1.4

[doctrine-dbal]
git=http://github.com/doctrine/dbal.git
version=2.1.6

[doctrine]
git=http://github.com/doctrine/doctrine2.git
version=2.1.6

[doctrine-mongodb]
git=http://github.com/doctrine/mongodb.git

[doctrine-mongodb-odm]
git=http://github.com/doctrine/mongodb-odm.git

[DoctrineBundle]
git=https://github.com/doctrine/DoctrineBundle.git
target=/bundles/Doctrine/Bundle/DoctrineBundle

[DoctrineMongoDBBundle]
git=http://github.com/doctrine/DoctrineMongoDBBundle.git
target=/bundles/Doctrine/Bundle/DoctrineMongoDBBundle
version=origin/2.0
```

It seems like the ODM is looking for a different version of Doctrine Common than the one I have. What's the best way to resolve this issue?