Create fatJar without SecurityException

I've already tried the solutions proposed in: “Invalid signature file” when attempting to run a .jar but I'm still facing issues. My gradle has the following:

task jarWithDependencies(type: Jar) {

manifest {

attributes 'Implementation-Title': 'Test',

'Implementation-Version': version


zip64 = true

baseName = + '-all'

archiveName = "$baseName.$extension"

from {

configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

} {

exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'


with jar


The problem is that when I run it I get the following output:

log4j:WARN No appenders could be found for logger (com.test.Tester).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See for more info.

And the program then exits....

Read More »

By: StackOverFlow - 7 days ago

Related Posts