title: symfony 3 [Semantical Error] The annotation @Doctrine\ORM\Mapping\Model in class AppBundle\Entity\User does not exist, or could not be auto-loaded
body: <p>when i am trying to log in: </p>
  
  <pre><code>[Semantical Error] The annotation "@Doctrine\ORM\Mapping\Model" in class AppBundle\Entity\User does not exist, or could not be auto-loaded.
  </code></pre>
  
  <p>My entity:</p>
  
  <pre><code>    namespace AppBundle\Entity;
  
      use Doctrine\Common\Collections\ArrayCollection;
      use Doctrine\ORM\Mapping as ORM;
      use Symfony\Component\Security\Core\User\UserInterface;
      use Symfony\Component\Validator\Constraints as Assert;
      use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  
      /**
       * @ORM\Model()
       * @ORM\Table()
       */
      class User implements UserInterface
      {
      }
  </code></pre>
  
  <p>I have tried to refarcor my code to bundles and everything was working. Now this error shows up</p>
  
  <p>enable_annotations is true</p>
  
  <p>I really do not understand what should be wrong
  Does anyone know?</p>