I am not totally sure but I can think of two things that may be the problem.
-
case PathList("META-INF", xs@_*) => MergeStrategy.discardI think you are discarding more than necessary here and maybe in one of such files is the info required to load logback on runtime. - IIUC the
1.4.0version of logback is intended for Java 9+ and requires its module system, are you sure you are running on an appropriate runtime? Maybe try using one of the1.2or1.3versions.