Error saying Error in jfindClass as character driverClass 1 class not found in R

+1 vote

I'm trying to connect cassandra with with R. I run this following command and it throws me an error

require(RJDBC)

error:

Error in .jfindClass(as.character(driverClass)[1]) : class not found
Dec 12, 2018 in Data Analytics by Ali
• 11,360 points
2,004 views
@Ali, Have you added the directory to the classpath?

Hey @Maverick, thank for responding. yes I've added the directory

.jaddClassPath("C:\Users\Ali\Desktop\R")
cassdrv <- JDBC("org.apache.cassandra.cql.jdbc.CassandraDriver",
"C:\Users\Ali\Desktop\R\cassandra-jdbc-1.2.5.jar")

1 answer to this question.

0 votes

Cassandra drivers seem to have dependencies that are not included with the driver. Make sure you get those as well and that you add all the JAR files to the class path.

answered Dec 12, 2018 by Maverick
• 10,840 points

Related Questions In Data Analytics

+1 vote
1 answer
+2 votes
1 answer

Error saying object not found in R

Change your link_addr to linkAddr and it ...READ MORE

answered Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
6,378 views
+1 vote
1 answer

"Error in eval(ei, envir) : object 'RDX2' not found" when trying to source the code in R

This is a very common issue that ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
5,140 views
0 votes
1 answer

Error saying "R Error: package ‘lme4’ required by ‘pbkrtest’ could not be found"

Windows 7, revo R 3.2.3 construct a directory ...READ MORE

answered Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
830 views
0 votes
1 answer

Error saying "Error in df$item : object of type 'closure' is not subsettable" when trying to use arules package

Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", ...READ MORE

answered Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,819 views
+1 vote
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP