I encountered the exact same error when I first try to start my MSF (Amazon Managed Flink) job in Java.
And how I resolve it is through setting up the Runtime properties in the MSF application.
The following link below contains an example of how to setup a input source kinesis stream and a sink kinesis stream.
Hopefully this helps!