Problem description

Runtime environment: JDK 8

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

[Error Code]:OTSParameterInvalid, [Message]:Invalid date format: Wed, 18 May 2016 08:32:51 +00:00.

Cause

The version of Joda-Time on which Classpath depends is earlier than the required version. Similar errors occur when you run Joda-Time of an early version in JDK 8.

Solution

Update the ots-public version to 2.2.4. If your project also depends on the Joda-Time library, update the version of ots-public to 2.9.