Home Codingsymfony Mixing YML and Annotation

Mixing YML and Annotation

by Ben
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

You may also like

Leave a Comment