The target-entity cannot be found in - MappingException

前端 未结 2 781
情歌与酒
情歌与酒 2020-12-10 09:34

I have Symfony project, in which there are 2 entities - Building and Building_type. They are connected with ManyToMany uni-directional association. So, when I try to access

2条回答
  •  醉话见心
    2020-12-10 09:59

    Also, make sure that your composer.json has proper entries pointing to proper namespace. Mine did not, causing this error.

提交回复
热议问题