1、配置mybatis-3-mapper.dtd 2、配置mybatis-3-config.dtd 3、结果所示: 转载于:https://www.cnblogs.com/wdh1995/p/6973746.html