1
Java에서 Microsoft SQL Server에 연결해야하는 응용 프로그램이 있습니다. JRE 1.8 및 sqljdbc4-2.0.jar를 사용합니다. 실행하려고 할 때 :Java Runtime Environment - Microsoft SQL Server에서 치명적인 오류가 감지되었습니다.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006f41dd27, pid=8404, tid=8960
#
# JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x5dd27]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\eclipse\workspace\Website\hs_err_pid8404.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
내가하지만 난 아무것도 찾을 수 없습니다 온라인이 버그를 검색
.. 여기
내가 사용하는 코드입니다 :이 사이트에 따르면try {
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance();
String connectionUrl = "jdbc:sqlserver://localhost:1433;instance=SQLEXPRESS;databaseName=Mydatabase;integratedSecurity=true";
con = DriverManager.getConnection(connectionUrl);
System.out.println("Connected");
} catch (ClassNotFoundException e) {
throw new Exception("Driver Not Found");
}
코드를 볼 수 있습니까? 우리는 이것으로부터 아무 것도 말할 수 없습니다. –
코드를 추가했습니다. :) –
나는'integratedSecurity = true'를 사용할 수 없다고 추측 할 것입니다. 다른 JDBC 드라이버를 찾아야합니다. –