Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"java.lang.ClassNotFoundException: oracle.jdbc.pooling.Factory"

Tags:

java

oracle

ucp

I'm having some sort of problem with ucp.jar

If I use ucp.jar for oracle 12.1.0.1 it works.

If I use the version for oracle 12.1.0.2 then I get the following exception:

java.lang.ClassNotFoundException: oracle.jdbc.pooling.Factory

Is there anyone who can help me?

Thanks, Mauro

like image 952
Mauro Scire' Avatar asked Sep 10 '14 14:09

Mauro Scire'


1 Answers

The Jdbc (ojdbc7.jar) and UCP (ucp.jar) jars must always be from the same version (12.1.0.2). You can't upgrade one without upgrading the other. This version dependency was introduced in 12c. It wasn't the case before.

like image 155
Jean de Lavarene Avatar answered Nov 03 '22 06:11

Jean de Lavarene