Java.lang.classNotFoundException: com.microsoft.jdbc.sqlserver.sqlserverdriver This error Solution: 1 Go to Microsoft website to download JDBC for SQL Server driver, installed back (C: / Program Files / Microsoft SQL Server 2000 Driver For JDBC / LIB), set the three JAR packets (Msbase.jar / MSSQLServer.jar / msutil.jar) installed, set to the class_path. It should be possible. 2 If the driver cannot be reported, you can copy the above three JAR packets to% java_home% / jre / lib / ext, you can. 3 If you want to quote these three JAR packets in your project, copy it / Web-INF / LIB / below.
Http://support.microsoft.com/default.aspx?scid=kb;zh-cn; 313100