Page 1 of 1

Driver class not found

Posted: 10 May 2022, 14:57
by carl9349037
Protégé 3.5 claims SQL drive is not installed. I have added SQL drive to the Protégé install folder. what is missing

Re: Driver class not found

Posted: 18 May 2022, 14:42
by carl9349037
java.jpg

Re: Driver class not found

Posted: 20 May 2022, 16:12
by neil.walsh
Hi,

Could you try changing the JDBC class drive name

From: com.mysql.jdbc.Driver
To: com.mysql.cj.jdbc.Driver

Recent versions of the JDBC driver use a different name for the driver
https://dev.mysql.com/doc/connector-j/8 ... anges.html

Let me know how you get on with this

Best regards

Neil

Re: Driver class not found

Posted: 20 May 2022, 18:01
by carl9349037
It still displays "Driver class not found"

Re: Driver class not found

Posted: 20 May 2022, 20:08
by jmk
Hi,
protege does not scan for driver jars its installation directory at startup. By default, It expects these driver files to be called either driver.jar, driver1.jar, driver2.jar.

Did you rename the driver jar file when you copied it to the install dir ?

regards,

J.-M.

PS: Expected names (driverX.jar) come from a configuration line in the Protege.lax file, you may also check that this line exists in yours :

Code: Select all

lax.class.path=protege.jar:looks.jar:unicode_panel.jar:driver.jar:driver0.jar:driver1.jar:driver2.jar$:lax.jar

Re: Driver class not found

Posted: 26 May 2022, 20:52
by carl9349037
well the app fails to start now

Re: Driver class not found

Posted: 30 May 2022, 08:28
by jmk
well the app fails to start now
It's difficult to tell why the application is not starting withour error message.Just two guesses :

1) if it doesn't start *after* you just renamed your jdbc driver file to some driverX.jar' : there is a problem with this jdbc driver file;
1) in case you modified your lax file according to my previous post : I'm sorry but there is a typo in it : you should remove the '$' character :

Code: Select all

lax.class.path=protege.jar:looks.jar:unicode_panel.jar:driver.jar:driver0.jar:driver1.jar:driver2.jar:lax.jar
J.-M.