It should be able automatically resolved by using the Type System name rather 
than absolute path.
How is the pipeline being launched?  If you’re using eclipse and launching it 
from the ctakes-clinical-pipeline project, be sure to include the 
smoking-status in the pom.xml as a dependency [I don’t think smoking-status was 
part of the main pipeline]?  Or ensure that that project is included during 
runtime?
Disclaimer: I didn’t try this myself yet- but let me know if that works for you.


From: Braun, Florian A [mailto:[email protected]]
Sent: Wednesday, July 22, 2015 3:44 PM
To: [email protected]
Subject: RE: smoking status - TypeSystem.xml could not be found

Wow, was just about to send an email on this. I am getting the exact same error.

I found the xml file under 
<ctakes-home>\ctakes-smoking-status\src\main\resources\org\apache\ctakes\smokingstatus\types\

Looks like it has an issue being under resources and not under the java?

Any info would be appreciated.

Florian

From: Justin Zhang [mailto:[email protected]]
Sent: Wednesday, July 22, 2015 10:54 AM
To: [email protected]<mailto:[email protected]>
Subject: smoking status - TypeSystem.xml could not be found

When I ran smoking pipeline from Eclipse, encountered the following error.

Caused by: org.apache.uima.util.InvalidXMLException: An import could not be 
resolved.  No .xml file with name 
"org.apache.ctakes.smokingstatus.types.TypeSystem" was found in the class path 
or data path. (Descriptor: 
file:/Users/justin/App/eclipse_mars/workspace_eclipse_mars/ctakes/ctakes-smoking-status/desc/analysis_engine/ClassifiableEntriesAnnotator.xml)

Everything looks fine.

The file is there physically.
The importing part from ClassifiableEntriesAnnotator.xml file is
 <typeSystemDescription>
      <imports>
                        <import 
name="org.apache.ctakes.smokingstatus.types.TypeSystem"/>
      </imports>
    </typeSystemDescription>

Could any one help me some clues?

Thanks,


--
Justin

Reply via email to