So that seems to be a bug in your code, right? A few things to check here:
1. It seems that GlobalRepositoryImpl is being considered by the Spring Data infrastructure as custom implementation class for GlobalRepository (read up on why this is the case in the reference documentation).
2. The observation in 1. probably originates from the GlobalRepository interface being considered a dedicated user repository definition you'd like to get repository instances created for. This is actually not the case as it's pretty much your common base interface all your actual repository interfaces shall refer to. Which leads me to the assumption that you …
3. didn't read the reference docs on how to extend all repositories carefully as the note under the very first example of the linked chapter explains why you want to annotate the intermediate interface with @NoRepositoryBean. Doing that should solve your problem.