Trying to add database driver (JDBC): RmiJdbc.RJDriver - Error, not in CLASSPATH?

后端 未结 1 1691
感情败类
感情败类 2020-12-10 07:29

I am using Weka

import weka.core.Instances;
import weka.core.converters.ConverterUtils.DataSource;
.
.
DataSource source;
source = new DataSource(\"somecsvfi         


        
相关标签:
1条回答
  • 2020-12-10 07:41

    Nothing is wrong. weka.jar has a DatabaseUtils.props file in it. This file has following line in subversion therefore weka tries to load that drivers.

    jdbcDriver=RmiJdbc.RJDriver,jdbc.idbDriver,org.gjt.mm.mysql.Driver,com.mckoi.JDBCDriver,org.hsqldb.jdbcDriver
    

    Open jar file with a zip utility and look for weka\experiment\DatabaseUtils.props file.

    0 讨论(0)
提交回复
热议问题