Parse String timestamp to Instant throws Unsupported field: InstantSeconds
<p>I am trying to convert a String into an Instant. Can you help me out?</p>

<p>I get following exception:</p>

<blockquote>
  <p>Caused by: java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: InstantSeconds
      at java.time.format.Parsed.getLong(Parsed.java:203)
      at java.time.Instant.from(Instant.java:373)</p>
</blockquote>

<p>My code looks basically like this</p>

<pre><code>DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
String timestamp = "2016-02-16 11:00:02";
TemporalAccessor temporalAccessor = formatter.parse(timestamp);
Instant result = Instant.from(temporalAccessor);
</code></pre>

<p>I am using Java 8 Update 72.</p>