Код: Выделить всё
error: types SdkBuilder and Builder are incompatible;
both define build(), but with unrelated return types
where CAP#1,CAP#2 are fresh type-variables:
CAP#1 extends CopyableBuilder from capture of ?
CAP#2 extends ToCopyableBuilder from capture of ?
Код: Выделить всё
DescribeInstancesRequest.Builder
-- Ec2Request.Builder: Ec2Request build();
-- AwsRequest.Builder: AwsRequest build();
-- CopyableBuilder
-- SdkBuilder: DescribeInstancesRequest build();
Подробнее здесь: https://stackoverflow.com/questions/791 ... tion-error
Мобильная версия