Symfony 批注“@Gedmo\Mapping\annotation\Sortable”不存在,或无法自动加载

Symfony 批注“@Gedmo\Mapping\annotation\Sortable”不存在,或无法自动加载,symfony,doctrine,stofdoctrineextensions,Symfony,Doctrine,Stofdoctrineextensions,我使用stof/条令扩展包:v1.3.0 config.yml stof_doctrine_extensions: default_locale: %locale% orm: default: tree: ~ timestampable: ~ sortable: ~ sluggable: ~ #translatable: ~ 实体 使用Ge

我使用stof/条令扩展包:v1.3.0

config.yml

stof_doctrine_extensions:
    default_locale: %locale%
    orm:
        default:
            tree: ~
            timestampable: ~
            sortable: ~
            sluggable: ~
            #translatable:   ~
实体

使用Gedmo\Mapping\Annotation作为Gedmo

/**

php bin/控制台原则:模式:更新-转储sql

给我

In AnnotationException.php line 54:

  [Semantical Error] The annotation "@Gedmo\Mapping\Annotation\Sortable" in property Mea\TaskBundle\Entity\Task::$position does not exist,  
   or could not be auto-loaded.     

那门课根本不存在。我相信你要找的是或

你可以在网站上阅读更多关于它的信息

In AnnotationException.php line 54:

  [Semantical Error] The annotation "@Gedmo\Mapping\Annotation\Sortable" in property Mea\TaskBundle\Entity\Task::$position does not exist,  
   or could not be auto-loaded.