Привет, ребята!Я разрабатываю приложение, подобное 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.**