解决IncompleteElementException: Could not find result map com.itheima.mapper.AccountMapper.account或 Co

已经遇到了两次这个错误了,希望以后能够细心不要再遇到了

解决IncompleteElementException: Could not find result map com.itheima.mapper.AccountMapper.account或 Co

 

以上错误完全是因为粗心大意,在配置mapper时,没有仔细看,如下是错误的

解决IncompleteElementException: Could not find result map com.itheima.mapper.AccountMapper.account或 Co

 

 

 

不是resultMap,应该改为resultType!!!

 

上一篇:【无标题】2022-01-29 arm-linux-gnueabihf-g++           is not a full path and was not found in the PATH.


下一篇:遇到scrapy OSError: could not get source code解决方法