The custom resolver is found at LazyBeanNameFinder, but as you can see in the attachment files, sometimes ordered with less procedence than the original SpringBeanNameResolver.
The problem is that original SpringBeanNameResolver causes exception. So, when it comes first, rewrite throws this exception and when my custom BeanNameResolver comes first rewrite works fine.
Is that a way to avoid this? Is that something that I’m doing wrong?