报错:Cannot resolve bean ‘dataSource’ 解决方法 在 File ->Project Structrue-> Modules->项目名->spring中添加 xml配置文件可以解决。 相关文章: