spring-boot-starter: auto-configuration and config location conflict.
Currently I’ve an issue with setting up my project.
When I set the config property in my application.properties, MybatisAutoConfiguration still scans the project for possible mappers, causing all my interfaces in that package becoming a mapper file.
When debugging, I see the config check being done after the auto configuration is scanning my package. This seems like a bug to me.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (21 by maintainers)
Commits related to this issue
- Scan only interfaces inside packages that ends with "mapper" Related to https://github.com/mybatis/spring-boot-starter/issues/39 — committed to emacarron/spring-boot-starter by emacarron 8 years ago
I prefer the
repositorypackage 😄 I think this solution will should provide since a next minor release (e.g. 1.1.0).