Hi,
My config:
orm:
auto_generate_proxy_classes: %kernel.debug%
auto_mapping: true
The problem happens if you use 'annotations', it usually means that
you've forgotten must have prefix '@ORM\Entity' in your entities.
--
Eric Malzone
On 3 jun, 03:58, Aanchal Gera <[email protected]> wrote:
> In your config,yml, have you specified the path to the directory which
> contains the Entity?
>
> Something like this:-
>
> orm:
> auto_generate_proxy_classes: %kernel.debug%
> auto_mapping: false
> mappings:
> UserBundle: { type: annotation, dir: Entity/ }
>
> On Jun 1, 1:05 am, "eric.malzone" <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hello folks,
>
> > Someone have notice about the error of mapping:
>
> > 'Class [...] is not a valid entity or mapped super class' ?
>
> > I saw so many forums but have got no success.
>
> > Sorry about the english, i'm studing.
>
> > Any help would be appreciated.
>
> > --
> > Eric Malzone
--
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