For Example: If you are using Azure Active Directory Authentication feature then you need to redeclare adal4j and client-runtime dependency in your project's POM file. Please see the following snippet:
<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>8.3.1.jre14-preview</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.microsoft.azure</groupId> <artifactId>adal4j</artifactId> <version>1.6.5</version> </dependency> <dependency> <groupId>com.microsoft.rest</groupId> <artifactId>client-runtime</artifactId> <version>1.7.4</version> </dependency>