大家好!我开发了一个类似于Jarvis的应用程序,但问题是,当我在我的应用程序中粘贴freetts代码时,maven抛出异常,但当我在教程[http://moderntone.blogspot.com/2013/02/freetts-tutorial.html]中进行讨论时,那么一切都很好
CMULexicon: Oh no! Couldn't find lexicon data!
Error: Can't load voice java.io.IOException: Can't load lexicon
Exception in thread "main" java.lang.Error: Can't load voice
java.io.IOException: Can't load lexicon
at com.sun.speech.freetts.Voice.error(Voice.java:875)
at com.sun.speech.freetts.Voice.allocate(Voice.java:326)
at com.mycompany.mehrunisa.Mehrunisa.speak(Mehrunisa.java:20)
at com.mycompany.mehrunisa.Mehrunisa.main(Mehrunisa.java:34)
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 1.758s
Finished at: Tue Apr 24 21:25:16 PKT 2018
Final Memory: 5M/109M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
(default-cli) on project Mehrunisa: Command execution failed. Process
exited with an error: 1 (Exit value: 1) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e
switch.Re-run Maven using the -X switch to enable full debug logging.**