From the docs on the website TimeMLAnnotator class can be run standalone, but I am unable to do so. First I installed the dependencies using mvn clean install, then I am trying to run the compiled file from cleartk-timeml directory like this :
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/uima/fit/factory/UimaContextFactory
at org.cleartk.timeml.TimeMlAnnotate.error(TimeMlAnnotate.java:72)
at org.cleartk.timeml.TimeMlAnnotate.main(TimeMlAnnotate.java:85)
Caused by: java.lang.ClassNotFoundException: org.apache.uima.fit.factory.UimaContextFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more
My java knowledge is a bit rusty, so I might be doing something pretty basic thing wrong. Can anyone please point me out how to just run the TimeMLAnnotate from command line?
From the docs on the website TimeMLAnnotator class can be run standalone, but I am unable to do so. First I installed the dependencies using
mvn clean install
, then I am trying to run the compiled file from cleartk-timeml directory like this :But I get this following exception :
My java knowledge is a bit rusty, so I might be doing something pretty basic thing wrong. Can anyone please point me out how to just run the TimeMLAnnotate from command line?