一样的错误:来qq远程协助吧 6535287
java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at CourseAppl.getConnection(CourseAppl.java:25)
at CourseAppl.display(CourseAppl.java:40)
at CourseAppl.main(CourseAppl.java:63)
getConnection()内的错误跟踪:com.microsoft.jdbc.sqlserver.SQLServerDriver
Exception in thread "main" java.lang.NullPointerException
at CourseAppl.display(CourseAppl.java:41)
at CourseAppl.main(CourseAppl.java:63)
[此贴子已经被作者于2007-3-23 10:49:31编辑过]