How to build an Uber JAR (Fat JAR) using SBT within IntelliJ IDEA?
I'm using SBT (within IntelliJ IDEA) to build a simple Scala project. I would like to know what is the simplest way to build an Uber JAR file (aka Fat JAR, Super JAR). I'm currently using SBT but when I'm submiting my JAR file to Apache Spark I get the following error: Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes Or this error during compilation time: java.lang.RuntimeException: deduplicate: different file contents found in the following: PATH\DEPENDENCY.jar:META-INF/DEPENDENCIES PATH\DEPENDENCY.jar:META-INF/MANIFEST.MF It