我从github下载了sphinx4-master。当我尝试构建它时,在LiveRecognizerTest.java:53给出了一个运行时异常。并构建失败。 这是我的控制台输出,
Executing: gradle build
Arguments: [-c, E:\project temp dev\sphinx4-master\settings.gradle]
:sphinx4-data:compileJava UP-TO-DATE
:sphinx4-data:processResources
:sphinx4-data:classes
:sphinx4-data:jar
:sphinx4-core:compileJava
:sphinx4-core:processResources
:sphinx4-core:classes
:sphinx4-core:jar
:sphinx4-data:javadoc UP-TO-DATE
:sphinx4-core:javadoc
:sphinx4-core:javadocJar
:sphinx4-core:packageSources
:sphinx4-core:assemble
:sphinx4-core:compileTestJava
:sphinx4-core:processTestResources
:sphinx4-core:testClasses
:sphinx4-core:test
Gradle suite > Gradle test > edu.cmu.sphinx.api.LiveRecognizerTest.testGram FAILED
java.lang.RuntimeException at LiveRecognizerTest.java:53
Caused by: java.net.ConnectException at LiveRecognizerTest.java:53
107 tests completed, 1 failed
:sphinx4-core:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sphinx4-core:test'.
> There were failing tests. See the report at: file:///E:/project%20temp%20dev/sphinx4-master/sphinx4-core/build/reports/tests/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4 mins 36.326 secs
Build failure (see the Notifications window for stacktrace): gradle build
我之前遇到了构建应用程序的问题。这里问题link。有人可以帮我解决这两个错误。