Class not found for UIMA pear fle -
i new in uima. working pear files annotation purposes pubmed xml file. have installed julie lab medline reader uima collection reader file , lingpipe gazeteer analysis engine. have run cpe generator , tried proper annotated words, failed that. following error occurred:
the class de.julielab.jules.reader.reader.medlinereader not found descripotor file=file/c:/apache-uima/examples/descriptor/collection reader/julie-medline-reader 1.7/desc/medlinereaderdesciptor.xml causedby: org.apache.uima.resourceinitializationexception:the class de.julielab.jules.reader.reader.medlinereader not found
caused by: java.lang.classnotfound exception de.julielab.jules.reader.reader.medlinereader
it great me give me solution error.
have in medlinereader collectionreader descriptor in pear at
c:/apache-uima/examples/descriptor/collection reader/julie-medline-reader 1.7/desc/medlinereaderdesciptor.xml
and @ typesystem imports:
<typesystemdescription> <imports> <import location="julie-document-meta-pubmed-types.xml"/> <import location="julie-document-structure-types.xml"/> </imports> </typesystemdescription>
make sure these files exists. try hardcode full path (something c:/....) , see if fixes problem.
ps: beware have spaces in paths, better use underscores
c:/apache-uima/examples/descriptor/collection_reader/julie-medline-reader_1.7/desc/medlinereaderdesciptor.xml
Comments
Post a Comment