dll missing in JDBC

后端 未结 9 911
Happy的楠姐
Happy的楠姐 2020-11-29 07:15

I am currently working with SQL in Java. Recently I got this error:

com.microsoft.sqlserver.jdbc.AuthenticationJNI 
WARNING: Failed to load the         


        
9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 08:11

    For easy fix follow these steps:

    1. goto: https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url#Connectingintegrated
    2. Download the JDBC file and extract to your preferred location
    3. open the auth folder matching your OS x64 or x86
    4. copy sqljdbc_auth.dll file
    5. paste in: C:\Program Files\Java\jdk_version\bin

    restart either eclipse or netbeans

提交回复
热议问题