No mapped Doctrine ORM entities according to the current configuration

前端 未结 4 1781
闹比i
闹比i 2021-02-04 19:31

I\'ve got a dubious issue. I have a set of existing annotated Doctrine entities which have been successfully used in a Symfony2/Doctrine2 project. However, I\'m currently isolat

4条回答
  •  佛祖请我去吃肉
    2021-02-04 19:59

    I have PHP entity in Ressources/config/doctrine/Foo.orm.php but I use annotation.

    Too different way for orm = [Exception]

    You do not have any mapped Doctrine ORM entities according to the current configuration. If you have entities or mapping files you should check your mapping configuration for errors.

    Just delete the bad entity file

提交回复
热议问题