when i am trying to log in:
[Semantical Error] The annotation "@Doctrine\ORM\Mapping\Model" in class AppBundle\Entity\User does not exist, or could not be auto-loaded.
My entity:
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
{
}
I have tried to refarcor my code to bundles and everything was working. Now this error shows up
enable_annotations is true
I really do not understand what should be wrong Does anyone know?