Skip to content

Commit 3fbb91b

Browse files
authored
Xml resultMap Error message location
1 parent 528d923 commit 3fbb91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/builder/MapperBuilderAssistant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private List<ResultMap> getStatementResultMaps(
337337
try {
338338
resultMaps.add(configuration.getResultMap(resultMapName.trim()));
339339
} catch (IllegalArgumentException e) {
340-
throw new IncompleteElementException("Could not find result map " + resultMapName, e);
340+
throw new IncompleteElementException("Could not find result map " + resultMapName + " [statementId]" + statementId, e);
341341
}
342342
}
343343
} else if (resultType != null) {

0 commit comments

Comments
 (0)