For me the issue solved after I packed the jar including all dependencies by customizing the "jar" task (pay attention also to the guidance in the comments)
see guidance in this answer