Am trying to connect to azure SQL using activedirectory login. So trying to map the msal4j jar and dependency with classpath in below command. But it is not picking the jar files and throwing error. If I place the files with in liquibase/internal/lib folder, then it works fine. is there any limitation in using classpath?
liquibase --defaultsFile liquibase.properties --username xxx --password yyy --url jdbc:sqlserver://serverdetails --classpath “C:/Data/jarpath” --changeLogFile changelog.xml update
Unexpected error running Liquibase: Connection could not be created to jdbc:sqlserver://serverdetails with driver com.microsoft.sqlserver.jdbc.SQLServerDriver. Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication.