You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Radwen ANIBA <ar...@gmail.com> on 2009/07/09 11:17:09 UTC
ResourceInitializationException
Hello everyone,
I have a problem with ResourceInitializationException error message from
UIMA telling me "Annotator class name required for primitive analysis engine
(Descriptor : ....path to my analysis engine descriptor ...)
What I did is create a project in Eclipse, I added all required external
jars (uima ) and setting all classpaths to my uima folder.
Do you think it is classpath problem ? Do I have to bind something else to
my project ?
If yes how to do it in Eclipse ?
Thank you
Radwen
Re: ResourceInitializationException
Posted by Jörn Kottmann <ko...@gmail.com>.
Radwen ANIBA wrote:
> Remark : when clicking in Browse to specify annotator class for the
> descriptor i dont find my class ?!!!! I think it is a classpath problem ??
> No ?
>
But when it is a .java file in a eclipse source folder its on the classpath
by default. Not sure why the desc editor cannot find it.
Jörn
Re: ResourceInitializationException
Posted by Radwen ANIBA <ar...@gmail.com>.
Ok now i resolved this I see the annotator Class but still having problem
running DocumentAnalyzer script that comes with UIMA
Still have the ClassNotFound Exception I dont understand why, I have added
UIMA nature to my project, added the descriptors to desc folder the classes
to src folder but still have this problem
I followed this tutorial
http://incubator.apache.org/uima/doc-uima-annotator.html
it seems simple like that but i dont understand where is the bug.
Radwen
2009/7/9 Thilo Goetz <tw...@gmx.de>
> Radwen ANIBA wrote:
> > Remark : when clicking in Browse to specify annotator class for the
> > descriptor i dont find my class ?!!!! I think it is a classpath problem
> ??
> > No ?
>
> I've seen this, too. Start typing the name of your
> annotator class, and it will show up.
>
> --Thilo
>
> >
> > Radwen
> >
> > 2009/7/9 Jörn Kottmann <ko...@gmail.com>
> >
> >> Radwen ANIBA wrote:
> >>
> >>> Hello everyone,
> >>>
> >>> I have a problem with ResourceInitializationException error message
> from
> >>> UIMA telling me "Annotator class name required for primitive analysis
> >>> engine
> >>> (Descriptor : ....path to my analysis engine descriptor ...)
> >>>
> >>>
> >> For me it looks like the Descriptor is primitive but does
> >> not specify the class name of the analysis engine.
> >>
> >> Can you post the descriptor here ?
> >>
> >> Jörn
> >>
> >
>
Re: ResourceInitializationException
Posted by Thilo Goetz <tw...@gmx.de>.
Radwen ANIBA wrote:
> Remark : when clicking in Browse to specify annotator class for the
> descriptor i dont find my class ?!!!! I think it is a classpath problem ??
> No ?
I've seen this, too. Start typing the name of your
annotator class, and it will show up.
--Thilo
>
> Radwen
>
> 2009/7/9 Jörn Kottmann <ko...@gmail.com>
>
>> Radwen ANIBA wrote:
>>
>>> Hello everyone,
>>>
>>> I have a problem with ResourceInitializationException error message from
>>> UIMA telling me "Annotator class name required for primitive analysis
>>> engine
>>> (Descriptor : ....path to my analysis engine descriptor ...)
>>>
>>>
>> For me it looks like the Descriptor is primitive but does
>> not specify the class name of the analysis engine.
>>
>> Can you post the descriptor here ?
>>
>> Jörn
>>
>
Re: ResourceInitializationException
Posted by Radwen ANIBA <ar...@gmail.com>.
Remark : when clicking in Browse to specify annotator class for the
descriptor i dont find my class ?!!!! I think it is a classpath problem ??
No ?
Radwen
2009/7/9 Jörn Kottmann <ko...@gmail.com>
> Radwen ANIBA wrote:
>
>> Hello everyone,
>>
>> I have a problem with ResourceInitializationException error message from
>> UIMA telling me "Annotator class name required for primitive analysis
>> engine
>> (Descriptor : ....path to my analysis engine descriptor ...)
>>
>>
> For me it looks like the Descriptor is primitive but does
> not specify the class name of the analysis engine.
>
> Can you post the descriptor here ?
>
> Jörn
>
Re: ResourceInitializationException
Posted by Jörn Kottmann <ko...@gmail.com>.
Radwen ANIBA wrote:
> Hello everyone,
>
> I have a problem with ResourceInitializationException error message from
> UIMA telling me "Annotator class name required for primitive analysis engine
> (Descriptor : ....path to my analysis engine descriptor ...)
>
For me it looks like the Descriptor is primitive but does
not specify the class name of the analysis engine.
Can you post the descriptor here ?
Jörn