symfony 2 : Namespace “Acme” does not contain any mapped entities

后端 未结 7 2332
醉酒成梦
醉酒成梦 2021-02-13 04:23

I am following the book and on the page http://symfony.com/doc/current/book/doctrine.html

While following the book I am trying to work on relationship of product and cat

7条回答
  •  遥遥无期
    2021-02-13 04:48

    The solution:

    Update symfony files:

    composer update
    

    then create entities

    php bin/console doctrine:generate:entities BackendBundle
    

提交回复
热议问题