If you got following error when you try to run your Flink job on local.
Caused by: java.lang.ClassNotFoundException: org.apache.flink.api.scala.typeutils.CaseClassTypeInfo
Then change your provided scoped Flink dependencies to compile scope.
On IntelliJ it can be done using Project Structure window: