you forgot the namespace statement: `namespace Acme\DemoBundle\Entity`