New to spring. I have defined 2 @Beans with unique names for each but with the same method name. One of the beans are not created and No valid bean exception is thrown.