I'm trying to connect to SQL DB in my Maven project, but keep getting following exception: 

"com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ...", "..Caused by: java.lang.UnsatisfiedLinkError: no mssql-jdbc\_auth-8.2.1.x64 in java.library.path....".

I've tried out suggestions from [no sqljdbc\_auth in java.library.path](https://stackoverflow.com/questions/11707056/no-sqljdbc-auth-in-java-library-path) and [UnsatisfiedLinkError: no sqljdbc\_auth in java.library.path](https://stackoverflow.com/questions/56953643/unsatisfiedlinkerror-no-sqljdbc-auth-in-java-library-path) but it didn't work for me.

I've put the path to sqljdbc\_auth.dll in:

1. Global PATH variable [Global PATH variable screenshot](https://i.stack.imgur.com/aSJNL.png)
2. C:\Program Files\Java\jdk-13.0.2\bin [C:\Program Files\Java\jdk-13.0.2\bin screenshot](https://i.stack.imgur.com/uleGn.png)
3. pom.xml (as a configuration in surefire plugin dependency)
[pom.xml screenshot](https://i.stack.imgur.com/vFy0l.png)

And here is my code:

```
public class JDBC {

    @Test
    public  void test() throws SQLException, ClassNotFoundException {

        String UserName="sa";
        String Password="Error911";
        Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
        String DB_URL ="jdbc:sqlserver://localhost:1433;databaseName=QADB;integratedSecurity=true;";
        //OR by using ip
        //DB_URL ="jdbc:sqlserver://192.168.0.104;databaseName=QADB;integratedSecurity=true;";
        Connection con = DriverManager.getConnection(DB_URL, UserName, Password);
    }
}

```

And the exception in console output:

> 
> com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not
>  configured for integrated authentication...........................
> 
> 
> ...Caused by: java.lang.UnsatisfiedLinkError: no mssql-jdbc\_auth-8.2.1.x64 in java.library.path:
>  [C:\Users\Automation\Microsoft JDBC Driver 6.0 for SQL
>  Server\sqljdbc\_6.0\enu\auth\x64]..
>  ....
> 
> 
>