Oracle JDBC Driver Issue Fix

I've accidentally created an error in which I can no longer reach the Config->Database-> Drivers configuration anymore.
I get the following error.

HTTP ERROR 500 Server Error

URI: /web/config/database.drivers
STATUS: 500
MESSAGE: Server Error

This was right after I uploaded an Oracle driver ODBC17.jar file. The logs show me the following, which I assume is the issue.

"Caused by: java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0"

How do I go about fixing this?

Go to the install directory on the gateway and find the user-lib/jdbc/ folder, remove the Oracle driver you added, and restart the gateway. And then upgrade your gateway; if you go to Ignition 8.1.33 or later you can use the ODBC17 jar just fine.

3 Likes