Background:
In the Springmvc+mybatis+oracle project, use the Java code to decompile the output XML error message incorrectly:the errors below were detected when validating the file Mybatis-3-mapper.dtd " via the file " account-mapper.xml ".< Span class= "PLN" > in Most cases these errors can is detected by validating "MYBATIS-3-MAPPER.DTD" Directly.however It's possible that errors would only occur when Mybatis-< Span class= "lit" >3-mapper. DTD is validated in the context of Account-mapper.xml Java code: less www.
将<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > 改为<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://www.mybatis.org/dtd/mybatis-3-mapper.dtd" >
Mybatis3 Mapper referenced file contains errors