dkmfbk / pikes

Pikes is a Knowledge Extraction Suite
GNU General Public License v3.0
23 stars 8 forks source link

Error when running run.sh #14

Closed thak123 closed 4 years ago

thak123 commented 4 years ago

Erro when running run.sh

`$ bash run.sh 20:55:56.451 [main] INFO e.f.d.p.tintop.server.PipelineServer - starting 0.0.0.0 8011 (Fri Apr 17 20:55:56 EEST 2020)... 20:55:56.456 [main] INFO e.f.d.p.tintop.AnnotationPipeline - Loading Stanford CoreNLP 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator simple_pos with class eu.fbk.fcw.wnpos.SimplePosAnnotator 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator mst_server with class eu.fbk.fcw.mst.api.MstServerParserAnnotator 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator ner_custom with class eu.fbk.fcw.ner.NERCustomAnnotator 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator conll_parse with class eu.fbk.fcw.mate.AnnaParseAnnotator 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator mate with class eu.fbk.fcw.mate.MateSrlAnnotator 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator dbps with class eu.fbk.dkm.pikes.twm.LinkingAnnotator 20:55:56.526 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator semafor with class eu.fbk.fcw.semafor.SemaforAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator ukb with class eu.fbk.fcw.ukb.UKBAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator anna_fake with class eu.fbk.dkm.pikes.tintop.annotators.FakeAnnaParserAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator ml with class eu.fbk.dkm.pikes.twm.LinkingAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator stanford2conll with class eu.fbk.dkm.pikes.depparseannotation.StanfordToConllDepsAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator ner_confidence with class eu.fbk.fcw.ner.NERConfidenceAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator mst_fake with class eu.fbk.dkm.pikes.depparseannotation.FakeMstParserAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator anna_pos with class eu.fbk.fcw.mate.AnnaPosAnnotator 20:55:56.527 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator tokenize 20:55:56.529 [main] INFO e.s.nlp.pipeline.TokenizerAnnotator - No tokenizer type provided. Defaulting to PTBTokenizer. 20:55:56.532 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator ssplit 20:55:56.534 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator dbps 20:55:56.537 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator pos 20:55:57.042 [main] INFO e.s.nlp.tagger.maxent.MaxentTagger - Loading POS tagger from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger ... done [0.5 sec]. 20:55:57.043 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator simple_pos 20:55:57.043 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator lemma 20:55:57.043 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator ukb 20:55:57.044 [main] INFO eu.fbk.fcw.ukb.UKBModel - Loading model for UKB 20:55:57.044 [main] INFO eu.fbk.fcw.ukb.UKB_MT - Loading UKB with 10 instances 20:55:57.046 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator ner_custom 20:55:57.952 [main] INFO e.s.n.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz ... done [0.9 sec]. 20:55:58.345 [main] INFO e.s.n.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/ner/english.muc.7class.distsim.crf.ser.gz ... done [0.4 sec]. 20:55:58.756 [main] INFO e.s.n.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/ner/english.conll.4class.distsim.crf.ser.gz ... done [0.4 sec]. 20:55:58.757 [main] INFO e.stanford.nlp.time.JollyDayHolidays - Initializing JollyDayHoliday for SUTime from classpath edu/stanford/nlp/models/sutime/jollyday/Holidays_sutime.xml as sutime.binder.1. Apr 17, 2020 8:55:58 PM de.jollyday.util.XMLUtil unmarshallConfiguration WARNING: Could not create JAXB context using the current threads context classloader. Defaulting to ObjectFactory classloader. edu.stanford.nlp.util.MetaClass$ClassCreationException: MetaClass couldn't create public eu.fbk.fcw.ner.NERCustomAnnotator(java.lang.String,java.util.Properties) with args [ner_custom, {customAnnotatorClass.ner_custom=eu.fbk.fcw.ner.NERCustomAnnotator, annotators=tokenize, ssplit, dbps, pos, simple_pos, lemma, ukb, ner_custom, parse, conll_parse, mst_fake, mate, semafor, dcoref, customAnnotatorClass.conll_parse=eu.fbk.fcw.mate.AnnaParseAnnotator, customAnnotatorClass.semafor=eu.fbk.fcw.semafor.SemaforAnnotator, ner_custom.maxlength=200, customAnnotatorClass.anna_fake=eu.fbk.dkm.pikes.tintop.annotators.FakeAnnaParserAnnotator, dbps.first_confidence=0.5, dbps.extract_types=0, ssplit.newlineIsSentenceBreak=two, dbps.address=http://api.dbpedia-spotlight.org, parse.maxlen=50, customAnnotatorClass.stanford2conll=eu.fbk.dkm.pikes.depparseannotation.StanfordToConllDepsAnnotator, dbps.min_confidence=0.0, customAnnotatorClass.ner_confidence=eu.fbk.fcw.ner.NERConfidenceAnnotator, customAnnotatorClass.anna_pos=eu.fbk.fcw.mate.AnnaPosAnnotator, customAnnotatorClass.simple_pos=eu.fbk.fcw.wnpos.SimplePosAnnotator, customAnnotatorClass.mst_server=eu.fbk.fcw.mst.api.MstServerParserAnnotator, dbps.annotator=dbpedia-annotate, dcoref.maxdist=5, customAnnotatorClass.mate=eu.fbk.fcw.mate.MateSrlAnnotator, customAnnotatorClass.dbps=eu.fbk.dkm.pikes.twm.LinkingAnnotator, customAnnotatorClass.ukb=eu.fbk.fcw.ukb.UKBAnnotator, customAnnotatorClass.ml=eu.fbk.dkm.pikes.twm.LinkingAnnotator, customAnnotatorClass.mst_fake=eu.fbk.dkm.pikes.depparseannotation.FakeMstParserAnnotator}] at edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:237) at edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382) at edu.stanford.nlp.pipeline.AnnotatorImplementations.custom(AnnotatorImplementations.java:188) at edu.stanford.nlp.pipeline.StanfordCoreNLP$1.create(StanfordCoreNLP.java:562) at edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:152) at edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:451) at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:154) at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:150) at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:137) at eu.fbk.dkm.pikes.tintop.AnnotationPipeline.loadModels(AnnotationPipeline.java:137) at eu.fbk.dkm.pikes.tintop.AnnotationPipeline.loadModels(AnnotationPipeline.java:125) at eu.fbk.dkm.pikes.tintop.server.PipelineServer.(PipelineServer.java:47) at eu.fbk.dkm.pikes.tintop.server.PipelineServer.main(PipelineServer.java:128) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233) ... 12 more Caused by: edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl at edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:40) at edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:57) at edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:38) at edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.(NumberSequenceClassifier.java:86) at edu.stanford.nlp.ie.NERClassifierCombiner.(NERClassifierCombiner.java:136) at edu.stanford.nlp.ie.NERClassifierCombiner.createNERClassifierCombiner(NERClassifierCombiner.java:274) at edu.stanford.nlp.ie.NERClassifierCombiner.createNERClassifierCombiner(NERClassifierCombiner.java:213) at eu.fbk.fcw.ner.NERCustomAnnotator.(NERCustomAnnotator.java:80) ... 17 more Caused by: edu.stanford.nlp.util.MetaClass$ClassCreationException: MetaClass couldn't create public edu.stanford.nlp.time.TimeExpressionExtractorImpl(java.lang.String,java.util.Properties) with args [sutime, {}] at edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:237) at edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382) at edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:38) ... 24 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233) ... 26 more Caused by: java.lang.RuntimeException: Error initializing binder 1 at edu.stanford.nlp.time.Options.(Options.java:92) at edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44) at edu.stanford.nlp.time.TimeExpressionExtractorImpl.(TimeExpressionExtractorImpl.java:39) ... 31 more Caused by: java.lang.IllegalStateException: Cannot instantiate configuration. at de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:39) at de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239) at de.jollyday.HolidayManager.init(HolidayManager.java:319) at de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44) at de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13) at de.jollyday.util.Cache.get(Cache.java:51) at de.jollyday.HolidayManager.createManager(HolidayManager.java:168) at de.jollyday.HolidayManager.getInstance(HolidayManager.java:148) at edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57) at edu.stanford.nlp.time.Options.(Options.java:90) ... 33 more Caused by: java.lang.IllegalStateException: Cannot parse holidays XML file. at de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:78) at de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37) ... 42 more Caused by: javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found