dao层报required a bean of type ‘ ‘ that could not be found.

Phenomenon:
The dao layer reports required a bean of type ' ' that could not be found.
Reason:
The configuration file does not configure the data source .
Conclusion:
The mybatis layer will not catch the data source exception, but directly returns null

Guess you like

Origin blog.csdn.net/qq_42859864/article/details/120209639