Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/356.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MS Access数据库:错误";java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver“;_Java_Exception - Fatal编程技术网

MS Access数据库:错误";java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver“;

MS Access数据库:错误";java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver“;,java,exception,Java,Exception,HTTP状态500-内部服务器错误 例外情况 javax.servlet.ServletException: java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver root cause java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver note The full stack traces of the exception and its root

HTTP状态500-内部服务器错误

例外情况

javax.servlet.ServletException: java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
root cause

java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.

尝试将缺少驱动程序类的jar库添加到glassfish运行时

这是复制到:


我添加了“commons-lang-2.6.jar、commons-logging-1.1.jar、hsqldb.jar、jackcess-2.1.2.jar、ucanaccess-3.0.0”抱歉,但我不知道有一个jar库缺少这个类。我甚至没有找到它,它不是我的jdk的一部分。类,其中以“sun.”开头的包应该是jdk/jre的一部分。您检查过了吗?