uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Initialization of annotator class &quot;foo&quot; failed.
Date Tue, 23 Nov 2010 13:00:54 GMT
It may help if you post the full stack trace, and it may help if you post the
descriptor xml that is failing to load.

It could be that the postagger requires some resources to be on its classpath or
datapath, that are missing.

-Marshall


On 11/23/2010 4:07 AM, A. Schaller wrote:
> Thilo Götz <twgoetz@...> writes:
>
>> Does your class really live in
>> Lesson4/src/de.tudarmstadt.ukp.teaching.tutorial.lesson4/PosTagger.java?
>> Shouldn't that be de/tudarmstadt/upk/...?
>>
>> --Thilo
>>
>> On 11/22/2010 10:30, A. Schaller wrote:
>>> Hey together,
>>>
>>> I am having troubles with UIMA running a AE Descriptor or CPE Descriptor. 
> When I 
>>> try to run one of these with run configuriation "UIMA Run AE", "UIMA Run 
> CPE" or 
>>> "UIMA CAS Visual Debugger" I get the error:
>>>
>>> Caused by: org.apache.uima.resource.ResourceInitializationException: 
>>> Initialization of annotator class "foo" failed.
>>>
>>> Where foo is the corresponding *.java file. The strange thing is: When i am 
>>> going through the RoomNumberAnnotator example (http://uima.apache.org/doc-
> uima-
>>> annotator.html) everything works fine and compiles nicely.
>>>
>
> Hi Thilo,
>
> indeed it resides ind de/tudarmstadt/upk/... etc.
>
> i just wrote it down like it was displayed in Eclipse. The path to the java file 
> is definitely correct. I guess the error must be caused by some kind of 
> misconfiguration of data or class path? I just don't know how to proceed since i 
> tried several different configurations
>
>
>
>

Mime
View raw message