雖然從Syfmony 2.7.7升級我的項目Symfony的2.8,我總是得到以下exeption一個php app/console cache:clear
後:MappingException之後升級到2.8的Symfony
$ php app/console cache:clear --no-warmup
[Doctrine\Common\Persistence\Mapping\MappingException]
Class 'EasyUseserBundle\Entityser' does not exist
作爲一個側面說明,實體的FQN是EasyUse\UserBundle\Entity\User
。
看一看的[升級說明](https://github.com/symfony/symfony/blob/2.8/UPGRADE -2.8.md#yaml),也許現在在YAML中轉義'反斜槓'字符的問題。 – enricog
我有一個硬編碼類在YAML文件隱藏在一個bundle.Thanks,如果您將您的評論轉換爲答案,我會接受它。 – RaulFerriz