驱动程序更新到ojdbc7.jar会给oracle / security / pki / OraclePKIProvider带来错误 [英] Driver update to ojdbc7.jar gives error for oracle/security/pki/OraclePKIProvider

查看:130
本文介绍了驱动程序更新到ojdbc7.jar会给oracle / security / pki / OraclePKIProvider带来错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前一直在使用ojdbc14.jar,现在想将它升级到ojdbc7.jar以支持oracle12c。

I have been using ojdbc14.jar earlier and now want to upgrade it to ojdbc7.jar for supporting oracle12c.

但是连接服务器时出现错误oracle / security / pki / OraclePKIProvider。

But while connecting server gives error for "oracle/security/pki/OraclePKIProvider".

如果我将oraclepki.jar添加到类路径服务器中,可以正常启动而不会出现任何错误。

If I add oraclepki.jar to the classpath server starts up properly without any error.

我试图弄清楚在ojdbc7.jar中添加了什么特殊内容,它要求我添加oraclepki.jar,与ojdbc14.jar一样,它从未要求我将oraclepki添加到我的类路径中。

I am trying to figure out what special got added in ojdbc7.jar that its asking me to add oraclepki.jar, As with ojdbc14.jar it never asked me to add oraclepki into my classpath.

有没有人知道ojdbc7会导致这个错误的变化,以及可以做些什么来避免在类路径上添加oraclepki?

Does anyone know what changes with ojdbc7 that's causing this error and what can be done to avoid adding oraclepki on classpath?

推荐答案

检查您的类路径,并确保删除以下内容:(如果存在)

Check your classpath and make sure you remove the following: (if it exists)

-XX:-UseSplitVerifier

这篇关于驱动程序更新到ojdbc7.jar会给oracle / security / pki / OraclePKIProvider带来错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆