简体   繁体   English

RJDBC与Amazon RedShift的连接产生一个.jfindClass类未找到错误

[英]RJDBC connection to Amazon RedShift produces a .jfindClass class not found error

Good morning, 早上好,

I have successfully set up an RStudio environment to connect to my Amazon RedShift database on Windows and Ubuntu, but have not found the same success in OS X. I downloaded the .jar file from Amazon for JDBC and placed it in the appropriate folder (" /etc/jdbc "), but when I try to initialize JDBC, I get the following error: 我已经成功地建立了一个RStudio环境以连接到Windows和Ubuntu上的Amazon RedShift数据库,但是在OS X中却没有获得同样的成功。我从Amazon下载了.jar文件用于JDBC,并将其放置在适当的文件夹中(“ /etc/jdbc “),但是当我尝试初始化JDBC时,出现以下错误:

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

Does anyone have experience with RJDBC in OS X that could help me out please? 是否有人在OS X中具有RJDBC的经验,可以帮助我吗?

http://i.imgur.com/pK2OJL9.png http://i.imgur.com/PLl23ne.png http://i.imgur.com/pK2OJL9.png http://i.imgur.com/PLl23ne.png

Solved by following these 2 links: 通过以下两个链接解决:
github.com/su/rJava/issues/47 github.com/su/rJava/issues/47
rJava load error in RStudio/R after "upgrading" to OSX Yosemite “升级”到OSX Yosemite后,RStudio / R中的rJava加载错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM