Java, Maven, Spring

Use SLF4J logging with Spring

Long story short, Spring using Commons logging as a logging API, but chances are that you are using SLF4J in your project, so here what you'll need to do to make Spring use SLF4J instead of commons logging. 1) Remove all commons-logging dependencies In maven, you'll have to exclude the commons-logging dependency from each Spring… Continue reading Use SLF4J logging with Spring