Java - Spring "The bean 'beanName', defined in class path resource [MyClass02.class], could not be registered. A bean with that name has already been defined in class path resource [MyClass01.class] and overriding is disabled." Posted on: 2021-11-23