嗨,我正试图在Symfony 2.8上安装genj/faq捆绑包。我遵循了文档中的步骤:https://github.com/genj/GenjFaqBundle
但是当我尝试进行模式更新时。没有可更新的内容。当我走/faq
路线时,我会出现以下错误:
The class 'Genj'FaqBundle'Entity'Category' was not found in the chain configured namespaces FM'UserBundle'Entity, FOS'UserBundle'Entity
问题出在哪里?
您尝试过强制标志吗?
php app/console doctrine:schema:update --force
找到了…这是我的配置中的mapping问题。yml。auto_mapping
是假的
auto_mapping: true