azure-sdk-for-java: [KeyVault] LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.

Query/Question I am trying to upgrade my azure-keyvault maven dependency from version 1.2.2 to 1.2.6. As soon as I start my test suite, this error appears: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.SimpleLoggerFactory loaded from file:/Users/Prabhash.Jain/.m2/repository/org/slf4j/slf4j-simple/1.7.30/slf4j-simple-1.7.30.jar). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.slf4j.impl.SimpleLoggerFactory Is there anything extra that I need to do?

Why is this not a Bug or a feature Request? Because i’m not sure if I missed any exclusion tags, as I could not find any documentation

Setup (please complete the following information if applicable):

  • OS: iOS
  • IDE: Eclipse
  • Library/Libraries: com.microsoft.azure:azure-keyvault:1.2.6

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Query Added
  • Setup information Added

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23 (12 by maintainers)

Most upvoted comments

@vcolin7 could you please follow up with @jainprabhash on this issue?

/cc @srnagar