We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150304d commit 92cef48Copy full SHA for 92cef48
src/main/java/org/apache/ibatis/builder/BaseBuilder.java
@@ -102,7 +102,7 @@ protected Object createInstance(String alias) {
102
return null;
103
}
104
try {
105
- return resolveClass(alias).getDeclaredConstructor().newInstance();
+ return clazz.getDeclaredConstructor().newInstance();
106
} catch (Exception e) {
107
throw new BuilderException("Error creating instance. Cause: " + e, e);
108
0 commit comments