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
public class ClassA implements ProducerResponseMapperFactory { @OverRide
public int getOrder() {
return 5000;
}
@Override
public boolean isMatch(Type producerType) {
return true;
}
@Override
public ProducerResponseMapper createResponseMapper(ResponseMapperFactorys<ProducerResponseMapper> factorys,
Type producerType) {
Type type = ((ParameterizedType) producerType).getActualTypeArguments()[0];
ProducerResponseMapper responseMapper = factorys.createResponseMapper(type);
return new ClassB(responseMapper);
}
java.lang.IllegalStateException: ServiceComb init failed.
Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
The text was updated successfully, but these errors were encountered: