问题如下:
(applicationContext-trans.xml中的部分截图)

先了解问题是怎么出现的:
此处的dataSource是在applicationContext-dao.xml中配置的,如下:

本来是想直接引用过来,没想到会出现无法解析的错误
问题解决:
原因是:因为spring的配置文件没有全部导进来,所以在使用IDEA时需要自己手动导入
1、进入File--->Project Structure-->Modules发现spring只有一个文件导入进来了

2、解决问题的操作:
①

②

③

④

⑤
添加完之后的如下,一定要记得Apply

⑥回到applicationContext-trans.xml中,发现没有错误了

Git -- 管理修改
Git -- 相关命令
Git -- 工作区 和 暂存区
Git -- 基本操作 之 版本回退
Git -- 创建版本库
Git -- 安装
Git -- 简介
word文档下划线无法显示的解决方法
The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context,