怎么把xml转化为java配置,看如下博文:
https://blog.csdn.net/lujiangui/article/details/82217622
spring的3种配置方式
原文:https://www.cnblogs.com/keith0/p/13150526.html