[Bug]: updating to slf4j 2.0.x is a breaking change
See original GitHub issueModule
Core
Testcontainers version
1.17.4
Using the latest Testcontainers version?
Yes
Host OS
macOS
Host Arch
x86
Docker version
Client:
Cloud integration: v1.0.22
Version: 20.10.11
API version: 1.41
Go version: go1.16.10
Git commit: dea9396
Built: Thu Nov 18 00:36:09 2021
OS/Arch: darwin/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.11
API version: 1.41 (minimum version 1.12)
Go version: go1.16.9
Git commit: 847da18
Built: Thu Nov 18 00:35:39 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.12
GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
runc:
Version: 1.0.2
GitCommit: v1.0.2-0-g52b36a2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
What happened?
Slf4j 2.0 is not compatible with spring boot. It was upgraded in #5848 Upgrading any dependency to the next major version in the next minor release of Testcontainers is not a good idea.
Please revert it to the 1.7.36
Relevant log output
No response
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
SLF4J News
The resulting internal changes are detailed in the FAQ page. SLF4J 2.0.x series requires Java 8. It builds upon the 1.8.x series and...
Read more >Upgrade to SLF4J 2.0 and Logback 1.4 #12649 - GitHub
Some OSS projects IMHO seem to tend making breaking changes without considering impact vs. benefit (e.g. junit, spring-data, etc.).
Read more >SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
I dropped latest logback classic into pom (1.1.7) and it failed because slf4j dependency was too old (1.6.2). Downgrading logback to 1.0.0 and...
Read more >Log4j – Changes - Apache Logging Services
Log4j 1.2 bridge should generate Log4j 2.x messages based on the parameter runtime type. pkarwasz. Fix, Log4j 1.2 bridge should not wrap ...
Read more >The Java Logging Battleground Gets Two New Updates
SLF4J's 2. 0. x series major improvement is the addition of a backward-compatible fluent logging api. The idea is to build a logging...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Sorry for misleading you, WireMock has nothing to do with this. I don’t know why I mentioned it here. Everywhere I wrote WireMock I meant testcontainers. Probably I’m too tired.
Closed by #5951.
@marcindabrowski No problem, thanks for creating the issue.