Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two slf4j implementations on the classpath #16

Closed
jonashackt opened this issue Sep 13, 2017 · 1 comment
Closed

Two slf4j implementations on the classpath #16

jonashackt opened this issue Sep 13, 2017 · 1 comment
Labels
Milestone

Comments

@jonashackt
Copy link
Member

When starting an app, there are some warnings from slf4j that if found more than one implementor, which will lead to an Spring Boot Application start error containing LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation from class org/springframework/boot/logging/logback/LogbackLoggingSystem.class.

@jonashackt jonashackt added this to the 1.1.3.RELEASE milestone Sep 13, 2017
@jonashackt jonashackt added the bug label Sep 13, 2017
jonashackt added a commit that referenced this issue Sep 13, 2017
…r, because that leads to interferences with Spring Boot´s logback logging (see https://stackoverflow.com/questions/30792268/loggerfactory-is-not-a-logback-loggercontext-but-logback-is-on-the-classpath) and the warnings with every run of your cxf-spring-boot-starter dependend application. This is now fixed.
@jonashackt
Copy link
Member Author

Problem was a dependency of mojo-executor.

jonashackt added a commit to codecentric/cxf-spring-boot-starter that referenced this issue Sep 13, 2017
…er-maven-plugin (codecentric/cxf-spring-boot-starter-maven-plugin#16) now provides only one slf4j implementor, so no errors like "LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation" should occur any more. Also the downgrade of logback isn´t necessary any more.
jonathangarcia414 added a commit to jonathangarcia414/spring-boot-starter that referenced this issue Nov 8, 2022
…er-maven-plugin (codecentric/cxf-spring-boot-starter-maven-plugin#16) now provides only one slf4j implementor, so no errors like "LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation" should occur any more. Also the downgrade of logback isn´t necessary any more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant