Doctrine2 - No Metadata Classes to process

前端 未结 9 2064
清歌不尽
清歌不尽 2020-12-13 06:15

Something is wrong with documentation or me. I do all what documentation says.

When i put in terminal :

$ php vendor/bin/doctrine orm:schema-tool:c         


        
9条回答
  •  不知归路
    2020-12-13 06:44

    I had the same problem when creating a new doctrine config in a new ZF2 module.

    problem was caused by

    'User\Entity' => 'property_entities'

    the user part was from the old entity

    'Property\Entity' => 'property_entities'

    Changing that fixed the issue

提交回复
热议问题