简体   繁体   English

jensembl入门

[英]getting started with jensembl

I'm starting a very small project with JEnsembl and I'm not used to trying out new API's. 我正在用JEnsembl开始一个非常小的项目,而且我不习惯尝试新的API。 I was wondering why this was running into problems: 我想知道为什么会遇到问题:

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

In Eclipse, ENSEMBLDB cannot be resolved to a field. 在Eclipse中,无法将ENSEMBLDB解析为字段。 I was wondering how to fix this, since it seems like ENSEMBLDB is the default for the datasource. 我想知道如何解决此问题,因为好像ENSEMBLDB是数据源的默认值。 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 ). 确保您导入了正确的DataSource类,而不是Java中当前可用的其他类之一(例如javax.sql.DataSource )。 The JAR file should be on your IDE's classpath. JAR文件应位于IDE的类路径上。

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

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