Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.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
Java 未找到JDBC驱动程序类:oracle 11g中的oracle.JDBC.OracleDriver_Java - Fatal编程技术网

Java 未找到JDBC驱动程序类:oracle 11g中的oracle.JDBC.OracleDriver

Java 未找到JDBC驱动程序类:oracle 11g中的oracle.JDBC.OracleDriver,java,Java,我用java 1.7编写了一个程序来连接数据库,我的数据库是oracle 11g express edition iam getting class not found类OracleDriver的错误 此错误消息清楚地表明类路径中没有JDBC驱动程序 JDBC Driver class not found: oracle.jdbc.OracleDriver in oracle 11g 您需要在类路径中添加oracleJDBC驱动程序 JDBC Driver class not found: o

我用java 1.7编写了一个程序来连接数据库,我的数据库是oracle 11g express edition iam getting class not found类OracleDriver的错误

此错误消息清楚地表明类路径中没有
JDBC
驱动程序

JDBC Driver class not found: oracle.jdbc.OracleDriver in oracle 11g
您需要在类路径中添加oracle
JDBC
驱动程序

JDBC Driver class not found: oracle.jdbc.OracleDriver in oracle 11g

所以首先呢,,然后将其添加到您的类路径中。

您是否已将驱动程序jar包含在类路径中?可能的重复项我已将我的类路径设置为C:\app\raju\product\11.2.0\dbhome\u 1\jdbc\lib\ojdbc6\u g.jar此路径,但我仍然收到错误您发布该路径是什么意思?我已将我的类路径设置为C:\app\raju\product\11.2.0\dbhome\u 1\jdbc\lib\ojdbc6\u g.jar此路径,但我仍然收到错误。没有办法,错误消息足够清楚,可以告诉yea在您的类路径中没有jdbc驱动程序,请检查它。
JDBC Driver class not found: oracle.jdbc.OracleDriver in oracle 11g