Error in .jfindClass(as.character(driverClass)[1]) : class not found

前端 未结 2 538
温柔的废话
温柔的废话 2021-01-27 07:24
> cassdrv <- JDBC(\"org.apache.cassandra.cql.jdbc.CassandraDriver\",
+                 list.files(\"C://Users//VRavimurugan.GSIN//AppData//Roaming//RazorSQL//cassa         


        
2条回答
  •  北恋
    北恋 (楼主)
    2021-01-27 07:54

    As highlighted in this apparently related issue, a solution may be to remove the package, restart, and install it again.

    In your case:

    1. Restart R
    2. In a clean session run the following command: remove.packages("RJDBC")
    3. Restart R again
    4. Re-install again the package with install.packages("RJDBC")

    This should fix it. A similar procedure should work for other packages giving the same error message.

提交回复
热议问题