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

LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.helpers.NOPLoggerFactory loaded from file:/.m2/org/slf4j/slf4j-api/2.0.11/slf4j-api-2.0.11.jar). #39470

Closed
samragu opened this issue Feb 8, 2024 · 2 comments

Comments

@samragu
Copy link

samragu commented Feb 8, 2024

Upgrading from Spring Boot 2.5.14 to 3.2.2 and running into this issue. A number of suggestions are out there to exclude spring-boot-starter-logging but we use that library and the logback it bootstraps. I see similar issue #37484 that was resolved in 3.2.2 but the above issue is in 3.2.2

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 8, 2024
@wilkinsona
Copy link
Member

As I said in #37484 (comment), if you're seeing the problem in a version where it should be fixed, please provide a minimal sample that reproduces the problem.

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Feb 8, 2024
@samragu
Copy link
Author

samragu commented Feb 8, 2024

While trimming down my project to create a sample, I discovered that a separate logback version was prescribed by a parent pom that seemed to cause this error. I have fixed it and is no longer an issue. Thanks for taking time to respond, much appreciated!

@samragu samragu closed this as completed Feb 8, 2024
@scottfrederick scottfrederick closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
@scottfrederick scottfrederick removed status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants