Try to search your question here, if you can't find : Ask Any Question Now ?

Connect commons-logging to slf4j-api

HomeCategory: stackoverflowConnect commons-logging to slf4j-api
Avatargaurav asked 1 week ago

Wanted to know the dependency that i should include to bridge commons-logging to slf4j-api.

My build is successful by adding below:

"org.apache.logging.log4j:log4j-api:2.12.1"
"org.apache.logging.log4j:log4j-core:2.12.1"
"org.apache.logging.log4j:log4j-1.2-api:2.12.1"
"org.slf4j:slf4j-api:${slf4j_version}"
"org.apache.logging.log4j:log4j-slf4j-impl:2.12.1"
"org.slf4j:slf4j-jcl:1.7.25"

But not able to startup my services 🙁
Getting java.lang.ExceptionInInitializerError…
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException

1 Answers
Best Answer
AvatarMikhail answered 1 week ago
Your Answer

7 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com