spring配置 1 别名配置 spring别名的配置规则 <!--设置别名:在获取Bean的时候可以使用别名获取--> <alias name="hello" alias="helloOne"/> 和mybatis的有些类似,在mybatis中是这样使用的