采用以下连接字符串:String dbURL = "jdbc:sqlserver://localhost:1433;DatabaseName=School;encrypt=false" 可解决此问题。重点在enscypt=false这句。