I get exception Uncaught exception \'Doctrine\\ORM\\Mapping\\MappingException\' with message \'Class \"Users\" is not a valid entity or mapped super class every
Uncaught exception \'Doctrine\\ORM\\Mapping\\MappingException\' with message \'Class \"Users\" is not a valid entity or mapped super class
In my case, I received this error because I opened the doc block with /*** instead of /**:
/***
/**
/*** * @entity * @table(name="bans") */