You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstatic <T> ExtensionLoader<T> getExtensionLoader(Class<T> type) {
.....
if (!withExtensionAnnotation(type)) {
thrownewIllegalArgumentException("Extension type (" + type +
") is not an extension, because it is NOT annotated with @" + SPI.class.getSimpleName() + "!");
}
....
returnloader;
}
In ExtensionLoader#getExtensionLoader will check failed and throw Exception.
BTW, ExtensionLoader not provided compatible class.
The text was updated successfully, but these errors were encountered:
EG:
SPI interface in apache dubbo
compatible class with alibaba dubbo
Not ADD @SPI annotation
In ExtensionLoader#getExtensionLoader will check failed and throw Exception.
BTW, ExtensionLoader not provided compatible class.
The text was updated successfully, but these errors were encountered: