idea中,dao not found之mapper.xml无法注入的原因,新手上台

mac2026-09-03  7

1、检查配置文件中是否把mapper.xml引入

2、mapper.xml的:namespace 要和dao层路径对应

3、最好注意下图(保险起见)

最新回复(0)