how to find out exactly which 3rd library packages should be shadowed?

Hi everyone, I am working on an App where I need to work with MS Word Docx files and for that I am using the Apache Poi library. I am using Gradle und following the post ( by Gajduk Andrej . I am facing some problems with shadowing. How to find out the packages that must be shadowed? I shadowed the package “org.apache” with something else but then I get an error for the log4j2 package that  “please add log4j2-core to the classpath” which I do not get if I don’t shadow the package. I get this error on eclipse while performing the unit tests. This error doesn’t hinder the funtionallity but just bugs me.   Could anyone provide a link to a well explained article for shadowing? Thanks :)
0 answers