简体   繁体   English

尽管库位于类路径中,但找不到Sphinx类?

[英]Sphinx classes not found despite library being in classpath?

I downloaded sphinx4-1.0beta6-bin.zip and installed it on my 64-bit Ubuntu 12.04 LTS. 我下载了sphinx4-1.0beta6-bin.zip并将其安装在我的64位Ubuntu 12.04 LTS上。 I was able to run the HelloWorld example. 我能够运行HelloWorld示例。 However, when I create my own class and create a Configuration object as shown here: 但是,当我创建自己的类并创建Configuration对象时,如下所示:

Configuration configuration = new Configuration();  

It gets flagged as an error. 它被标记为错误。 Eclipse cannot find the class at all even though I have appropriate jars in the library and library is in the build path. 即使我在库中有适当的jar且库在构建路径中, Eclipse也根本找不到该类。

Here are the jars in the library: 这是库中的罐子:

  1. js.jar
  2. jsapi.jar
  3. sphinx4.jar
  4. tags.jar

Then, why am I getting this error ? 那我为什么会收到这个错误?

This class doesn't exist in released version, to use it you need to checkout an experimental hl-interface branch with subversion: 此类在发行版本中不存在,要使用它,您需要使用subversion签出实验性的hl-interface分支:

http://sourceforge.net/p/cmusphinx/code/HEAD/tree/branches/hl-interface/ http://sourceforge.net/p/cmusphinx/code/HEAD/tree/branches/hl-interface/

To learn more about subversion see 要了解有关Subversion的更多信息,请参见

http://www.ibm.com/developerworks/library/os-ecl-subversion/ http://www.ibm.com/developerworks/library/os-ecl-subversion/

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

相关问题 尽管库包含在 pom 中,但在 maven 项目中找不到类 - Classes not found in maven project despite the library being included in the pom 尽管在MANIFEST中没有找到类路径,但是找不到类 - Class not found despite of classpath in MANIFEST 尽管 jar 在类路径中,但仍面临 NoClassDefFoundError(动态编译) - Facing NoClassDefFoundError despite jar being in classpath (dynamic compilation) 尽管jar在类路径中,但Ant -verbose失败并显示“包不存在” - Ant -verbose fails with “package does not exist” despite jar being on classpath 从ODBC中找不到配置单元类路径 - Hive classpath not being found from ODBC Java Mysql 错误“没有找到合适的驱动程序”尽管类路径中有驱动程序 - Java Mysql error “No suitable driver found” despite driver in classpath 找不到Java类路径中的XML文件 - XML files in java classpath not being found 尽管类路径正确,Javac仍找不到SWT库 - Javac cannot find SWT library despite correct classpath 在类路径文件中找不到自动测试的问题 - Issue with automated test not being found in classpath file 尽管类路径中存在类,但仍发生ClassNotFoundException - ClassNotFoundException despite class in the classpath
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM