现象:
dao层报required a bean of type ’ ’ that could not be found.
原因:
配置文件未配置数据源
结论:
mybatis层不会捕获数据源异常,相反直接返回null
dao层报required a bean of type ‘ ‘ that could not be found.
猜你喜欢
转载自blog.csdn.net/qq_42859864/article/details/120209639
今日推荐
周排行