I have a trouble while creating new entity in my Custom CMS Bundle . At the end of generating through this error :
[InvalidArgumentException]
Doctrine ORM Manager named "" does not exist.
However , I have tried to solve this way . But in this case I got another error :
ClassNotFoundException in DoctrineExtension.php line 432: Attempted to load class "Version" from namespace "Doctrine\ORM". Did you forget a "use" statement for e.g. "Jackalope\Version\Version", "Doctrine\DBAL\Version", "Symfony\Component\Intl\Util\Version", "Doctrine\ODM\PHPCR\Version", "Doctrine\Common\Cache\Version" or "Doctrine\Common\Version"?
What shold I do ? how to fix that ?