I/O Error: SSO Failed: Native SSPI library not loaded

后端 未结 6 456
失恋的感觉
失恋的感觉 2020-12-05 04:06

I am trying to run the following bit of code:

import java.sql.DriverManager;

public class Connect {
    public static void main(String[] args){
        try{         


        
6条回答
  •  独厮守ぢ
    2020-12-05 04:41

    I got it working by placing the ntlmauth.dll file at \jdk\jre\bin. I am using Tomcat as my application server.

    However, I noticed that this works for only one web application deployed at a time. If I have the same setting for multiple web applications, all fail but one. This is quite a strange behavior. Any idea what's happening here?

提交回复
热议问题