我正在尝试构建maryTTS开源文本转语音引擎,但我遇到测试失败请帮我解决此错误
Command i have used to build maryTTS project (Branch 5.x) is
**avinash@lb:~/lb-work/text-to-speach-engine/mary5.x/marytts$ mvn install**
error is pasted below
Tests run: 23, Failures: 1, Errors: 0, Skipped: 22
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MaryTTS ........................................... SUCCESS [2.755s]
[INFO] marytts-common .................................... SUCCESS [8.488s]
[INFO] marytts-signalproc ................................ SUCCESS [8.237s]
[INFO] marytts-runtime ................................... SUCCESS [18.343s]
[INFO] marytts-lang-de ................................... SUCCESS [2.912s]
[INFO] marytts-lang-en ................................... FAILURE [3.120s]
[INFO] marytts-lang-te ................................... SKIPPED
[INFO] marytts-lang-tr ................................... SKIPPED
[INFO] marytts-lang-ru ................................... SKIPPED
[INFO] marytts-lang-it ................................... SKIPPED
[INFO] marytts-lang-fr ................................... SKIPPED
[INFO] marytts-lang-sv ................................... SKIPPED
[INFO] marytts-lang-lb ................................... SKIPPED
[INFO] marytts-languages ................................. SKIPPED
[INFO] voice-cmu-slt-hsmm ................................ SKIPPED
[INFO] marytts-client .................................... SKIPPED
[INFO] marytts-builder ................................... SKIPPED
[INFO] marytts-redstart .................................. SKIPPED
[INFO] marytts-transcription ............................. SKIPPED
[INFO] marytts-assembly-builder .......................... SKIPPED
[INFO] marytts-assembly-runtime .......................... SKIPPED
[INFO] marytts-assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.511s
[INFO] Finished at: Thu Dec 14 12:00:06 IST 2017
[INFO] Final Memory: 23M/552M
[INFO] ------------------------------------------------------------------------
[错误]无法执行目标 org.apache.maven.plugins:Maven的万无一失,插件:2.19.1:测试 项目marytts-lang-en上的(默认测试):测试失败。
[ERROR] [错误]请参阅/home/avinash/lb-work/text-to-speach-engine/mary5.x/marytts/marytts-languages/marytts-lang-en/target/surefire-reports 对于个人测试结果。 [错误] - > [帮助1] [错误] [错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。 [ERROR]使用-X开关重新运行Maven以启用完整的调试日志记录。 [错误] [错误]有关错误和可能解决方案的更多信息,请阅读以下文章: [错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [错误] [错误]纠正问题后,您可以使用该命令恢复构建 [错误] mvn -rf:marytts-lang-en
答案 0 :(得分:0)
你可以尝试做"清理安装"在'目标' ?点击" Skip Tests"运行它时的复选框。
答案 1 :(得分:0)
我得到的解决方案实际上是我试图运行的分支的问题。在MaryTTS中添加新语言仅支持在主分支
中不支持的MaryTTS 5.x分支