{"action":"created","issue":{"url":"https://api.github.com/repos/AxonFramework/AxonFramework/issues/245","repository_url":"https://api.github.com/repos/AxonFramework/AxonFramework","labels_url":"https://api.github.com/repos/AxonFramework/AxonFramework/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/AxonFramework/AxonFramework/issues/245/comments","events_url":"https://api.github.com/repos/AxonFramework/AxonFramework/issues/245/events","html_url":"https://github.com/AxonFramework/AxonFramework/issues/245","id":201964093,"number":245,"title":"With an extra @EntityScan the @RegisterDefaultEntities in AxonAutoConfiguration does not work","user":{"login":"erwinvb","id":10174752,"avatar_url":"https://avatars.githubusercontent.com/u/10174752?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinvb","html_url":"https://github.com/erwinvb","followers_url":"https://api.github.com/users/erwinvb/followers","following_url":"https://api.github.com/users/erwinvb/following{/other_user}","gists_url":"https://api.github.com/users/erwinvb/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinvb/subscriptions","organizations_url":"https://api.github.com/users/erwinvb/orgs","repos_url":"https://api.github.com/users/erwinvb/repos","events_url":"https://api.github.com/users/erwinvb/events{/privacy}","received_events_url":"https://api.github.com/users/erwinvb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-19T20:16:17Z","updated_at":"2017-01-19T20:59:25Z","closed_at":null,"body":"With a spring boot project with a  Configuration file with an @EntityScan the @RegisterDefaultEntities in AxonAutoConfiguration does not work.\r\n\r\nA stacktrace with the following is shonwn: QuerySyntaxException: SagaEntry is not mapped.\r\n\r\nWhen the axon entity paths are added to the entityscan the application does start.\r\nI think it is easy to solve, I added a patch with the changed code.\r\n\r\n[patch.zip](https://github.com/AxonFramework/AxonFramework/files/717664/patch.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/AxonFramework/AxonFramework/issues/comments/273896784","html_url":"https://github.com/AxonFramework/AxonFramework/issues/245#issuecomment-273896784","issue_url":"https://api.github.com/repos/AxonFramework/AxonFramework/issues/245","id":273896784,"user":{"login":"abuijze","id":152721,"avatar_url":"https://avatars.githubusercontent.com/u/152721?v=3","gravatar_id":"","url":"https://api.github.com/users/abuijze","html_url":"https://github.com/abuijze","followers_url":"https://api.github.com/users/abuijze/followers","following_url":"https://api.github.com/users/abuijze/following{/other_user}","gists_url":"https://api.github.com/users/abuijze/gists{/gist_id}","starred_url":"https://api.github.com/users/abuijze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abuijze/subscriptions","organizations_url":"https://api.github.com/users/abuijze/orgs","repos_url":"https://api.github.com/users/abuijze/repos","events_url":"https://api.github.com/users/abuijze/events{/privacy}","received_events_url":"https://api.github.com/users/abuijze/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T20:59:25Z","updated_at":"2017-01-19T20:59:25Z","body":"this is actually intended behavior. The default is to locate entities in subpackages of your application class' package. Axon adds a few default packages. \r\nWhen providing an explicit `@EntityScan`, neither of these defaults is valid anymore. \r\n"}}
{"actor":{"display_login":"abuijze"}}