Unable to get db connection after Java 8 upgrade

后端 未结 1 1438
悲哀的现实
悲哀的现实 2021-02-20 02:04

I have recently upgraded an application from java 1.7 to 1.8. Rest of the libraries versions remains unchanged. I am getting the following error after the upgrade:



        
1条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-20 02:31

    As i can see from the Oracle FAQ, the jdbc driver you are using is not compatible with the Database Version and JDK8.

    What are the various supported Oracle database version vs JDBC compliant versions vs JDK version supported?

    I think this must be your problem. Maybe if you used ojdbc7.jar might help (not sure about this cause I haven't tested it yet - MOST PROBABLY THIS WOULD FAIL)

    0 讨论(0)
提交回复
热议问题