Hey guys,

I recently updated from Apache UIMA Ruta version 2.3.0 to 2.5.0. However, after 
the upgrade, my application does not run anymore, due to some error in the ruta 
scripts. I get the following error:

Caused by: org.apache.uima.util.InvalidXMLException: An import could not be 
resolved.  No file with name "_APP_TypeSystem.xml" was found in the class path 
or data path. (Descriptor: <unknown>)
at 
org.apache.uima.resource.metadata.impl.Import_impl.findAbsoluteUrl(Import_impl.java:115)
at 
org.apache.uima.resource.metadata.impl.TypeSystemDescription_impl.resolveImports(TypeSystemDescription_impl.java:228)
at 
org.apache.uima.resource.metadata.impl.TypeSystemDescription_impl.resolveImports(TypeSystemDescription_impl.java:208)
at 
org.apache.uima.ruta.RutaEnvironment.importPackageFromTypeSystem(RutaEnvironment.java:592)
... 67 more
I assume that's because of the import within my ruta script. Do you have any 
idea, if and how the way we import something in a script has changed from 
version 2.3 to 2.5?

I do import like this:

IMPORT PACKAGE de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos FROM 
_APP_TypeSystem AS pos;

Thanks already in advance for your help!



Reply via email to