Spring @Bean with different name but same method name throws Bean creation exception

前端 未结 0 678
陌清茗
陌清茗 2021-02-05 04:47

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.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题