I am trying to connect Squirrel SQL to an Apache Phoenix database, but instead getting the below error:
Could not find class org.apache.phoenix.jdbc.PhoenixDriver in neither
the Java class path nor the Extra class path of the ARAF_Phoenix driver definition:
java.lang.ClassNotFoundException: org.apache.phoenix.jdbc.PhoenixDriver
I have already added the Phoenix-client.jar file to the lib folder of squirrel application. Not sure, but please help if I have missed any setting that needs to be done.
Attaching the screenshots as well. Note : I have deleted the IP from the driver connection wizard.
Add Driver-->Extra Class Path--> ADD (Select the JAR file required) --> update Name,Example URL--> Click on "List Drivers" ---> Click OK
This should fix your issue
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.