Hi Erin,

Do you have any classes in ctakes-typesystem (org.apache.ctakes.type.system)?  
It could be that jcasgen needs to be run.

Just out of curiosity, how huge is your jar file?  You may be able to decrease 
the size ...

Sean

-----Original Message-----
From: Erin Gustafson [mailto:erin.gustaf...@northwestern.edu] 
Sent: Thursday, June 08, 2017 11:16 AM
To: dev@ctakes.apache.org
Subject: Pipeline executable

Hi all,

I have a project that contains a series of classes to build cTAKES pipelines. 
I've been successfully running the pipelines myself within an IDE, but would 
like to be able to provide collaborators with an executable jar file to run our 
pipeline.

So far, I've managed to build a jar that will start running the pipeline from 
the command line. It successfully initializes the annotators but throws an 
exception when processing begins:

Exception in thread "main" java.lang.IllegalStateException: 
org.apache.uima.resource.ResourceInitializationException: Undefined type 
"org.apache.ctakes.typesystem.type.textspan.Segment" in type priority list. 
(Descriptor: <unknown>)

Any thoughts about how to resolve this error? Let me know if I can provide any 
more information..

Thanks,
Erin

Reply via email to