MaryTTS and modern Java versions - dialogos-project/dialogos GitHub Wiki
The current release of MaryTTS (5.2, at this time of writing) is not compatible with Java > 8. The problem manifests itself on DialogOS as described in #207.
We have temporarily fixed the problem for the MaryTTS DialogOS plugin itself, as described in #207. If you encounter the same error message elsewhere, e.g. when testing your own plugin, add the following code to your build.gradle:
configurations {
implementation.exclude group: 'de.dfki.mary', module: 'marytts-lang-de'
implementation.exclude group: 'de.dfki.mary', module: 'marytts-runtime'
}
When a new version of MaryTTS is released, we should fix this properly.