Mixing YML and Annotation

Uncaught PHP Exception Doctrine\Common\Persistence\Mapping\MappingException: "No mapping file found named 'G:\Websites\hostphotocontest\hostphotocontest_site_sym2\Symfony\path\src\Entro\HpcBundle\Resources\config\doctrine/Contest.orm.yml' for class 'Entro\HpcBundle\Entity\Contest'." at G:\Websites\hostphotocontest\hostphotocontest_site_sym2\Symfony\path\vendor\doctrine\common\lib\Doctrine\Common\Persistence\Mapping\MappingException.php line 75 {"exception":"[object] 

(Doctrine\\Common\\Persistence\\Mapping\\MappingException: No mapping file found named 'G:\\Websites\\hostphotocontest\\hostphotocontest_site_sym2\\Symfony\\path\\src\\Entro\\HpcBundle\\Resources\\config\\doctrine/Contest.orm.yml' for class 'Entro\\HpcBundle\\Entity\\Contest'. at G:\\Websites\\hostphotocontest\\hostphotocontest_site_sym2\\Symfony\\path\\vendor\\doctrine\\common\\lib\\Doctrine\\Common\\Persistence\\Mapping\\MappingException.php:75)"}

doctrine:

orm:
auto_generate_proxy_classes: "%kernel.debug%"

default_entity_manager: default

Related posts

Migrating Symfony1 to Symfony2: Weekend 1

Symfony 1 to Symfony 2

Could not open input file: composer.phar