@Christophe COEVOET: Thanks you very much.
So, I have correctly placed my class in Entity dir, and with app/ console, Symfony2 have created the good associated class: Entity \User.php But, I have now another problem. I have write a little controller but when I execute the script, one error is returned: "Class Acme\MyBundle\Entity\User is not a valid entity or mapped super class" I don't understand because this class file is generated automatically by Doctrine... and my mapping seems good: entity_managers: default: mappings: AcmeMyBundle: ~ Can you help me again, please ? Thanks a lot, JeanChristophe. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en