slf4j-test
slf4j-test copied to clipboard
classpathDependencyExcludes are not picked up by IntelliJ
The solution as described in the documentation, with surefire classpathDependencyExcludes, does not work when run through IntelliJ. This causes this logging framework to work correctly on commandline, but still cause logging framework conflicts when run in IntelliJ.
Is there a way to make this framework compatible with IntelliJ?
+1 on this. I am running into the same error.
+1 :(
This is the bug to track on IntelliJ side https://youtrack.jetbrains.com/issue/IDEA-122783
A workaround is to declare slf4j-test
dependency as the first dependency in the project you want to use so it should be picked up before any other SLF4J implementation.