Согласно руководству пользователя, я могу использовать путь к файлу вместо
ресурс:
// Using classpath relative resources
<mappers>
<mapper resource="org/mybatis/builder/AuthorMapper.xml"/>
</mappers>
// Using url fully qualified paths
<mappers>
<mapper url="file:///var/sqlmaps/AuthorMapper.xml"/>
</mappers>
в моем проекте я пытаюсь поместить мой mapper xml "вне" проекта
и я делаю это:
<mapper url="file://D:/Mappers/ComponentMapper1.xml" />
Вывод моей консоли log4j:
Error building SqlSession.
The error may exist in file://D:/Mappers/ComponentMapper1.xml
Cause: org.apache.ibatis.builder.BuilderException: Error parsing
SQL Mapper Configuration. Cause: java.net.UnknownHostException: D
Это ошибка или я что-то не так делаю?