Org.slf4j in raven logback client conflicting with play framework logback

Hi All,
Am getting “java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext” error while starting play framework as dependency in raven client (7.6.0) is conflicting with that of play.

Any way to solve this, we excluded the dependecy earlier :

“com.getsentry.raven” % “raven-logback” % “7.6.0” exclude(“org.slf4j”, “slf4j-api”)

which intermittently solved the issue, but it started appearing again with same code.