Could not initialize class oracle.jdbc.driver.T4CConnection

Hi,
I am getting below exception even though I can able to see the T4CConnection class in my library.
Could not initialize class oracle.jdbc.driver.T4CConnection.

Gradle Version: 4.10
Java Version: 8

What does this question have to do with Gradle?

Besides that you are using an ancient Gradle version and did not really provide and helpful information to even have a chance to get any help if it were a Gradle issue.