java.lang.ClassCastException

oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.oci.OracleOCIConnection

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via Unknown by user9367995,
  • via Unknown by 296090,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.ClassCastException: oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.oci.OracleOCIConnection at oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:897) at oracle.jdbc.pool.OracleOCIConnectionPool.setPoolConfig(OracleOCIConnectionPool.java:501) at Teste2.<init>(Teste2.java:35) at Teste2.main(Teste2.java:15)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.