mybatis中xml文件第一行报错解决办法

  1. 将  
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "<span style="color: #ff9900;">http://mybatis.org/dtd/mybatis-3-mapper.dtd</span>">  
  3. 改为  
  4. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "<span style="color: #ff9900;">http://www.mybatis.org/dtd/mybatis-3-mapper.dtd</span>">  

猜你喜欢

转载自blog.csdn.net/chp891202/article/details/73555250