org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getDataSource' defined in class path resource nested exception is org.springframework.beans.factory.BeanCreat异常
一般beanfactory异常就是创建spring容器对象的时候出错, 出错的名字为getDataSource ,将名字改为dataSource即可