When i tried to execute following code it shows error:
Code:
Error: -
Exception in thread "main" java.lang.NoSuchFieldError: UTF8
What SDK and Java versions are you using?
Can you provide the sample code?
I'm using jdk 1.8
This error is solved "java.lang.NoSuchFieldError: SIGNING_REGION"
I have changed the version of core dependency aws-java-sdk-core from 1.11.207 or 251 to 307
This will perfect work:
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-core</artifactId>
<version>1.11.307</version>
</dependency>
Most helpful comment
This error is solved "
java.lang.NoSuchFieldError: SIGNING_REGION"I have changed the version of core dependency aws-java-sdk-core from 1.11.207 or 251 to 307
This will perfect work: