检查id 是否对应检查xml 与 mapper是否名字一样检查配置文件 mybatis-plus:mapper-locations: - classpath 对应路径是否正确检查maven 有没有配置 resources