Issue: The ojdbc10.jar is not supported for the JDBC Driver.
Fix: For the driver to work you must use:
ojdbc8.jar for Oracle 18c and 19c
ojdbc7.jar for Oracle 12c
For more information about the jar file to be used refer to Oracle Thin Client JDBC Driver.