Hi Yang, Just to see that I finally found the problem:
lazy val log4j = "org.apache.logging.log4j" % "log4j-slf4j-impl" % "2.13.3" % "provided" This dependency was not added to my jar (but sbt was including it for the run task, that is why it worked with `sbt run`). After adding this dependency to the jar (or providing the library as a jar in the container) everything worked as expected. Thanks a lot for your help! -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/