Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_40646143/article/details/90783416
Error Analysis:
- teget directory of userDao.xml files should be placed below userDao.class
- The correct figure below
Solution is as follows
- Since resources can not be created in the following package, can only create folders Directory, Key (folder inside can not. "" Form )
So can not directly write in the following resources
You should create a file folder such as create com.blog.mapper
Create the following
- Not the easy way, ah, I wasted three or four hours