调试经验-java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl
来源:互联网 发布:网络歌手排行榜 编辑:程序博客网 时间:2024/05/14 05:26
问题描述:
尝试将示例中的Derby数据库切换到Oracle数据库,设置完数据库配置后,运行程序,总是报错:
java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl
解决方案:
找原因将近一个小时,最后发现是product\instantclient_10_2下两个库文件:ojdbc14.jar、classes12.jar搞的鬼
下载了ojdbc7.jar (适配jdk1.8和Oracle12C),build path中导入此包的同时删除ojdbc14.jar、classes12.jar这两个包,问题解决
0 0
- 调试经验-java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl
- java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:ORCL
- 关于解决No suitable driver found for jdbc:oracle:thin:@//localhost:1521/orcl的问题
- 关于解决No suitable driver found for jdbc:oracle:thin:@//localhost:1521/orcl的问题
- java.sql.SQLException:No suitable driver found for "jdbc:oracle:thin:@
- jsp连接oracle数据库时报错: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl,解决方法
- 调试经验-java.sql.SQLException: No suitable driver found for jdbc:derby:iDB
- SQLException: No suitable driver found for jdbc:oracle:thin:@gem:1521:XE
- mondrian java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/foodmart
- java.sql.SQLException: No suitable driver found for jdbc:mysql:/localhost/XXX?还是没有解决
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/airline
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- android studio下解决 java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- java.sql.SQLException: No suitable driver found for jdbc:sqlserver://localhost:1433;databaseName
- No suitable driver found for jdbc:orcale:thin:@127.0.0.1:1521:orcl
- java.sql.SQLException: No suitable driver found for jdbc:derby
- 鸣人的影分身
- ZooKeeper和CAP理论及一致性原则
- JVM调优总结(十二)-参考资料
- Linux下TCP网络编程与基于Windows下C#Socket编程间通信
- SAPUI5 (31)
- 调试经验-java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl
- TensorFlow最佳实践样例程序
- hdu 2034 人见人爱A-B
- java泛型-类型擦除
- java及andriod studio安装小结
- 重邮第八届ACM大赛-预赛题解报告
- redis初体验---php5.6在win10中的wamp环境下安装redis拓展
- CKeditor插件之行间距顺带加中文字体显示
- xor与base64结合的加密解密函数