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

Most upvoted comments

I prefer the repository package 😄 I think this solution will should provide since a next minor release (e.g. 1.1.0).