Usually if you update a maven dependency version, you just change the number and fix any code that gets errors.
Today I learned there's a new version of slf4j, if you update it doesn't give any errors, it just doesn't work. You have to change a corresponding dependency, on artifact name not just version number.
https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j2-impl
- what is the visible symptom of "it just doesn't work" ?
(so others could recognize the symptoms)
- which previous artifact name needs to be changed to the given one?The old slf4j-api 1.x goes with a log4j-slf4j-impl.
(so others could scan their deps for the old name)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 339 |
Nodes: | 16 (2 / 14) |
Uptime: | 01:27:02 |
Calls: | 7,467 |
Calls today: | 3 |
Files: | 12,691 |
Messages: | 5,628,003 |