{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1569","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1569/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1569/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1569/events","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/1569","id":40008746,"number":1569,"title":"MappingException","user":{"login":"prybus","id":5602186,"avatar_url":"https://avatars.githubusercontent.com/u/5602186?v=3","gravatar_id":"","url":"https://api.github.com/users/prybus","html_url":"https://github.com/prybus","followers_url":"https://api.github.com/users/prybus/followers","following_url":"https://api.github.com/users/prybus/following{/other_user}","gists_url":"https://api.github.com/users/prybus/gists{/gist_id}","starred_url":"https://api.github.com/users/prybus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prybus/subscriptions","organizations_url":"https://api.github.com/users/prybus/orgs","repos_url":"https://api.github.com/users/prybus/repos","events_url":"https://api.github.com/users/prybus/events{/privacy}","received_events_url":"https://api.github.com/users/prybus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-08-11T22:46:16Z","updated_at":"2016-01-20T08:16:57Z","closed_at":null,"body":"Hello, \r\nI have problem: \r\n\r\nMappingException: The class 'Acme\\UserBundle\\Entity\\User' was not found in the chain configured namespaces FOS\\UserBundle\\Entity, FOS\\UserBundle\\Model\r\n\r\nmy file Acme\\UserBundle\\Entity\\User\r\n\r\n<?php\r\n// src/Acme/UserBundle/Entity/User.php\r\n\r\nnamespace Acme\\UserBundle\\Entity;\r\n\r\nuse FOS\\UserBundle\\Model\\User as BaseUser;\r\nuse Doctrine\\ORM\\Mapping as ORM;\r\n\r\n/**\r\n * @ORM\\Entity\r\n * @ORM\\Table(name=\"fos_user\")\r\n */\r\nclass User extends BaseUser\r\n{\r\n    /**\r\n     * @ORM\\Id\r\n     * @ORM\\Column(type=\"integer\")\r\n     * @ORM\\GeneratedValue(strategy=\"AUTO\")\r\n     */\r\n    protected $id;\r\n\r\n    public function __construct()\r\n    {\r\n        parent::__construct();\r\n        // your own logic\r\n    }\r\n}"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/comments/173125292","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/1569#issuecomment-173125292","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1569","id":173125292,"user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T08:16:57Z","updated_at":"2016-01-20T08:16:57Z","body":"Afaik the `Resources` directory of your bundle is not a location Doctrine will treat as a default location for entities when `auto_mapping` is enabled. Put it in `Application\\MainBundle\\Entity\\User` instead."}}