I think this is import by name so no need for .xml at the end. Try: classpath*:Users/anni/ ............/typesystem
Jerry On Thu, Apr 28, 2016 at 5:06 PM, Anni R Coden <[email protected]> wrote: > Hi - > > I am using UIMAfit > > I created a a file: META-INF/org.apache.uima.fit/types.txt > > in the file I put > > classpath*:Users/anni/ ............/typesystem.xml > > > However I get a enrror that TypeSystemMgr requires a particular type > (specified in typesystem.xml) which was not found in the CAS > > Here is the stack > > Exception in thread "main" > com.ibm.langware.annotator.jFrostAEProcessException: Annotator class > com.ibm.dltj.uima_annotator.lex_analysis.TypeSystemMgr requires Type > uima.tt.ParagraphAnnotation, which was not found in the CAS. > at > com.ibm.dltj.uima_annotator.implBase.TypeSystemMgr_ImplBase.initTypeCode( > TypeSystemMgr_ImplBase.java:66) > at > com.ibm.dltj.uima_annotator.lex_analysis.TypeSystemMgr.initTypeSystem( > TypeSystemMgr.java:141) > at > > com.ibm.dltj.uima_annotator.implBase.AnalyzerContext_ImplBase.setTypeSystem( > AnalyzerContext_ImplBase.java:89) > at > > com.ibm.dltj.uima_annotator.implBase.jFrostAnnotator_ImplBase.typeSystemInit( > jFrostAnnotator_ImplBase.java:70) > at > > org.apache.uima.analysis_component.CasAnnotator_ImplBase.checkTypeSystemChange( > CasAnnotator_ImplBase.java:100) > at > org.apache.uima.analysis_component.CasAnnotator_ImplBase.process( > CasAnnotator_ImplBase.java:55) > at > > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess( > PrimitiveAnalysisEngine_impl.java:378) > at > > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes( > PrimitiveAnalysisEngine_impl.java:298) > at > > org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas( > ASB_impl.java:568) > at > > org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>( > ASB_impl.java:410) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process( > ASB_impl.java:343) > at > > org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes( > AggregateAnalysisEngine_impl.java:265) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process( > AnalysisEngineImplBase.java:267) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process( > AnalysisEngineImplBase.java:280) > at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline( > SimplePipeline.java:285) > at com.ibm.medtas.runNegator.RunMedNeg.main(RunMedNeg.java:53) > > any hints are appreciated. > > Thanks, Anni > > Dr. Anni R. Coden > IBM T.J. Watson Research Center > 1101 Kitchawan Road, Route 134 > Yorktown Heights, NY 10598 > USA > Tel: (914) 945 2359 t/l 862 2359 > [email protected] > >
