dll missing in JDBC

后端 未结 9 937
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:04

    The sqljdbc_auth.dll is within the sqljdbc_x.x folder you install to retrieve the sqljdbcxx.jar file in the auth folder. Create a lib folder at the base of your scala project and move sqljdbc_auth.dll into this folder. This makes sure that you are getting the correct file, e.g. 64 bit or 32 bit that matches your sqljdbcxx.jar file.

提交回复
热议问题