classforname还有drivermanager有没有写在try里面。
如果检查到你的拼写确实没有任何问题。去下载一个sql的补丁吧!