uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Crist <Sean.Cr...@humedica.com>
Subject Re: Annotator class name is required for a primitive Analysis Engine
Date Mon, 16 Nov 2015 14:00:58 GMT

That was the problem.  Thank you.

‹Sean Crist


On 11/13/15, 4:50 PM, "Matthew DeAngelis" <ronin78@gmail.com> wrote:

>Hi Sean,
>
>Have you specified the name of the class file from the source folder? It's
>been a while since I did the tutorial, but in descriptor file, under the
>Overview tab, in the "Name of the Java class file" field, I have
>"org.apache.uima.tutorial.ex1.RoomNumberAnnotator". In general, this field
>specifies the actual Java class that implements annotation using the .xml
>file as a descriptor.
>
>
>Regards,
>Matt
>
>On Fri, Nov 13, 2015 at 1:36 PM, Sean Crist <Sean.Crist@humedica.com>
>wrote:
>
>>
>> Hello,
>>
>> I¹m working through the UIMA tutorial at
>> http://uima.apache.org/doc-uima-annotator.html .  Before writing to this
>> list, I searched Google at length.  I also made a new project and did
>>the
>> whole tutorial again, in case I missed something.
>>
>> To test the annotator, I ran CVD as instructed.  Within CVD, I chose Run
>> -> Load AE, and chose RoomNumberAnnotatorDescriptor.xml.  At that
>>point, I
>> get this alert:
>>
>> org.apache.uima.resource.ResourceInitializationException: Annotator
>>class
>> name is required for a primitive Analysis Engine.  (Descriptor: file:
>> 
>>/Users/scrist/Documents/workspace/RoomNumberAnnotator/desc/RoomNumberAnno
>>tatorDescriptor.xml)
>>
>> This would seem to suggest that my annotator class isn¹t in the class
>> path.  I did follow the earlier instruction to add the
>>RoomNumberAnnotator
>> project to the classpath.
>>
>> There are very few matches in Google for this particular error, so I¹m
>> guessing that something quirky and unusual has gone wrong here.  I¹m
>>using
>> Eclipse for Mac,  Mars.1, Release 4.5.1.
>>
>> Thanks,
>> --Sean Crist
>>
>>


Mime
View raw message