I meet the same problem, I solved it by build the jar with dependencies.
remove "sc.addJar()" in your code.
add the code below to pom.xml
src/main/java
src/test/java
maven-assembly-plugin
jar-with-dependencies
make-assembly
package
single
mvn package
submit the "example-jar-with-dependencies.jar"