Closed danechitoaie closed 3 years ago
Judging by the error message, you have SLF4J JAR file in Jenkins plugin and in Jetty webapp classloader. Nothing to do with zt-zip, you have to fix your environment.
I had <pluginFirstClassLoader>true</pluginFirstClassLoader>
in my POM and I guess this was causing the conflict.
I removed that and then I was able to compile the plugin. It's strange that I only got this issue with zt-zip
and other dependencies don't. Maybe only zt-zip
uses slf4j and others don't?
I really hope I won't have to go back to <pluginFirstClassLoader>true</pluginFirstClassLoader>
as I'll have no idea how to solve this conflict then.
Trying to use zt-zip in a Jenkins and I get the following error
Any idea what I can do to fix this?