uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <richard.eck...@gmail.com>
Subject Re: Descriptor validation failed
Date Thu, 04 Jul 2013 15:29:30 GMT
Hi,

you may have to change the validateDescritor.sh script to add the folder containing your compiled
classes to the classpath.

-- Richard

Am 02.07.2013 um 10:45 schrieb Herson Esquivel Vargas <herson.ev@gmail.com>:

> Hello.
> I'm starting to use UIMA.
> I downloaded it and I was able to run the examples from scratch (without eclipse).
> Then I wanted to create my own AE but when I run the validateDescriptor.sh script it
fails:
> 
> 
> $ validateDescriptor.sh CedulaAnnotator.xml
> Parsing...
> Validating...
> Descriptor is invalid.
> org.apache.uima.resource.ResourceInitializationException: Annotator class "info.gacetacr.java.annotator.CedulaAnnotator"
was not found. (Descriptor: file:/.../whole_path/.../src/info/gacetacr/xml/CedulaAnnotator.xml)
> 
> 
> This is my file structure:
> .
> ├── data
> │   └── COMP_14_06_2013.txt
> └── src
>    └── info
>        └── gacetacr
>            ├── java
>            │   ├── annotator
>            │   │   └── CedulaAnnotator.java
>            │   └── type
>            │       ├── Cedula.java
>            │       └── Cedula_Type.java
>            └── xml
>                ├── CedulaAnnotator.xml
>                └── Cedula.xml
> 
> 
> I know it should be something easy to fix, but I just can't find it :(
> 
> I would appreciate any help.
> 
> Thank you in advance,
> Herson.
> 


Mime
View raw message