bean 默认的name

spring.main.allow-bean-definition-overriding=true就是解决bean重复定义的。设置为true时,后定义的bean会覆盖之前定义的相同名称的bean。 但是肯定是不能覆盖的
相关文章
相关标签/搜索