You are doing fat jar building wrongly. That is one of the reasons fat jars are evil and should be prevented wherever possible.