Symfony2 Error: No mapping file found named

后端 未结 5 912
我在风中等你
我在风中等你 2020-12-16 21:19

I am using Symfony2 and when i try to generate the schema ($ php app/console doctrine:generate:schema) i got an error..


    [Doctrine\\ORM\\Mapping\\MappingExcep         


        
5条回答
  •  离开以前
    2020-12-16 21:57

    Good day,

    Although I know that this has been posted years ago, but will just like to post my answer here, perhaps it could help someone :)

    just simply clear the cache, it works for me though

    php bin/console cache:clear
    

    Thanks

提交回复
热议问题