Shadowing the 3rd party libraries

0
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 (https://medium.com/mendix/best-practice-for-adding-a-java-dependency-to-mendix-c10069fa1a10) 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 :)  
asked
0 answers