Are you using APC for caching? If so, try clearing its cache. On Thu, Aug 5, 2010 at 6:37 PM, Michael <[email protected]> wrote:
> Hi, I have successfully got the mapping xml files to be generated. > than I ran the entities script but the following error: > > [Doctrine\ORM\Mapping\MappingException] > > Class Application\HelloBundle\Entities\User is not a valid entity or > mapped super class. > > any ideas? > > On Aug 5, 12:49 am, Florian <[email protected]> wrote: > > Hi, > > > > you have to create a mapping file before: a schema.yml or .xml for > > example. > > > > try to run "php hello/console help doctrine:generate:entities" and you > > will see the HELP of this command. > > > > Try using "doctrine:mapping:import" to generate a schema.yml file from > > an exisitng database, an then run "doctrine:generate:entities" > > > > Hope it helps! > > Florian. > > > > On 5 août, 04:21, Michael <[email protected]> wrote: > > > > > I'm using Symfony2 PR3 and trying to auto generate doctrine entities. > > > I have created a database with some tables and set config.yml with: > > > > > doctrine.dbal: > > > dbname: dbname > > > user: root > > > password: root > > > > > doctrine.orm: ~ > > > > > when I try to run "php hello/console doctrine:generate:entities" > > > nothing happened. > > > > > any idea? do I need to manually create the classes? > > > > > > -- > 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 developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- http://www.AaronDM.com Web designing, development and general support -- 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 developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
