I have added SonataUserBundle and it is giving error
config.yml
doctrine:
orm:
auto_generate_proxy_classes: \"%kernel.debug%\"
n
Do you think it is necessary to configure the mappings manually if you set auto_mapping to true?
Doctrine's auto_mapping feature loads annotation configuration from the Entity/ directory of each bundle and looks for other formats (e.g. YAML, XML) in the Resources/config/doctrine directory.
http://symfony.com/doc/current/reference/configuration/doctrine.html#custom-mapping-entities-in-a-bundle