marytts icon indicating copy to clipboard operation
marytts copied to clipboard

NoSuchMethodError

Open DavidHancu opened this issue 3 years ago • 0 comments

I am trying to use MaryTTS 5.2, but when I try to use it, I get this error: Exception in thread "main" java.lang.NoSuchMethodError: opennlp.tools.postag.POSTaggerME.tag(Ljava/util/List;)Ljava/util/List; at marytts.modules.OpenNLPPosTagger.process(OpenNLPPosTagger.java:119)

I found out that this error is coming from a version mismatch: I need OpenNLP 1.8.4 for intent recognition, so switching to 1.5.3 (what MaryTTS uses) isn't an option.

DavidHancu avatar Jun 02 '21 11:06 DavidHancu