I have tried suggestions in other threads but they don\'t help me.
When I run my jar by java -jar -BigJar.jar I receive exception :
Exception in t
This error message tells exactly why bundled jar is not recommended for production release. The problem is some of your dependency jar is signed with signature files. repack it may violate some security policy on the dependency jar.
To make it work, you need remove all signature files from the signed jar, before copying the unpacked files into your final build jar file.
org.apache.maven.plugins
maven-shade-plugin
package
shade
${project.artifactId}-${project.version}-uber
*:*
META-INF/*.SF
META-INF/*.DSA
META-INF/*.RSA