erreur mapping symfony

Par SEDI, il y a 4 ans


Bonjour jai essayé de cree des mixture via php bin/console make:migration
et il m'affiche ca

php bin/console make:migration In AnnotationException.php line 39: [Semantical Error] The annotation "@Vich\UploaderBundle\Mapping\Annotati on" in class App\Entity\Article was never imported. Did you maybe forget to add a "use" statement for this annotation? make:migration

pourtant avant de les lancer jai mis ces "use"

<?php namespace App\Entity; use App\Repository\ArticleRepository; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\HttpFoundation\File\File; use Vich\UploaderBundle\Mapping\Annotation as Vich; use Symfony\Component\HttpFoundation\File\UploadedFile;

j'ai deja fait un sujet dessus mais les je ne sais pas comment m'y prendre pour resoudre cet erreur svp cela est urgent, si quelqun peut m'aider en visio c'est le seul moyen de m'aider

MERCI

Aucune réponse