This topic describes the problem description, cause, and solution of PB library conflicts that occur when you use Tablestore SDK for Java.

Problem description

A similar output is displayed when I use Tablestore SDK for Java:

Caused by: java.lang.UnsupportedOperationException: This is supposed to be overridden by subclassed


Tablestore SDK for Java V2.4.1 depends on Protobuf library 2.4.1 and httpasyncclient 4.0.2, which may conflict with the same built-in library of your application.


Add the following dependencies to the pom.xml file in the Maven project:

Note classifier is jar-with-dependencies, which packages the HttpClient and Protobuf dependencies by using rename package to remove the dependency on HttpClient and Protobuf.
        <version>Your current version</version>