简体   繁体   中英

getting started with jensembl

I'm starting a very small project with JEnsembl and I'm not used to trying out new API's. I was wondering why this was running into problems:

DBRegistry reg = DBRegistry.createUninitializedRegistryForDataSource(DataSource.ENSEMBLDB);

In Eclipse, ENSEMBLDB cannot be resolved to a field. I was wondering how to fix this, since it seems like ENSEMBLDB is the default for the datasource. What should I be writing that is different?

Thanks so much!

Ensure you've imported the correct DataSource class and not one of the other ones currently available in Java (eg javax.sql.DataSource ). The JAR file should be on your IDE's classpath.

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.

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