I think I had the same problem this weekend while testing SF2. I believe the "No Metadata Classes to process" error is thrown when your Entity class does not contain a namespace definition. The documentation is not very clear about this, some code examples simply do not work when you try them.
Hope this helps you. On Oct 11, 9:40 am, "J. Dreesen" <[email protected]> wrote: > I experienced the same problem when I tried the PR3 sandbox a while > ago. I couldn't make it work with annotations Metadata. After a while > I gave up and created yaml metadata files which works perfectly for > me. But I'm interested to know why annotations don't work. Anybody an > idea? > > On Oct 7, 10:33 am, Laszlo Horvath <[email protected]> wrote: > > > > > Hi all, > > > First post so be gentle pls :) Just donwloaded PR3, added a new > > bundle, registered in AppKernel and some entities in its Entity dir. > > Metadata is provided trough annotations. When I try to build schema > > for it with: php app/console doctrine:schema:create I get "No > > Metadata Classes to process". With some debugging found out that > > entity classes are found, but annotations are not read for some weird > > reason so Doctrine\ORM\Mapping\Driver\AnnotationDriver()->isTransient() > > returns false even tho i have @Entity docblocks. I must > > > be missing something obvious, please help. -- 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
