slf4j-test icon indicating copy to clipboard operation
slf4j-test copied to clipboard

classpathDependencyExcludes are not picked up by IntelliJ

Open TimoMeijer opened this issue 8 years ago • 4 comments

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?

TimoMeijer avatar Dec 01 '16 16:12 TimoMeijer

+1 on this. I am running into the same error.

marcusmoncayo avatar Jul 27 '17 18:07 marcusmoncayo

+1 :(

KieranPeat avatar Nov 16 '17 14:11 KieranPeat

This is the bug to track on IntelliJ side https://youtrack.jetbrains.com/issue/IDEA-122783

woshilapin avatar Mar 16 '18 18:03 woshilapin

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.

woshilapin avatar Mar 16 '18 18:03 woshilapin