You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Spico Florin <sp...@gmail.com> on 2012/06/18 11:34:28 UTC

List of jar files that are not allowed by the UIMA framework

Hello!

 I'm using the PEAR installer for install my pear file. While running it,
I'm bumping in the exception:


Verification of MyAnnotator  failed =>
 org.apache.uima.resource.ResourceInitializationException: The class
MyAnnotator is not a valid Analysis Component.  You must specify
an
Annotator, CAS Consumer, Collection Reader, or CAS Multiplier. If you are
calling ResourceManager.setExtensionClassPath, this error can also be
caused if you have put UIMA framework jar files on the extension
classpath, which is not allowed"

1.Can you please provide a full list of jar files that are required by
the UIMA framework in order to check exactly
which jar file should be remove from my classpath.
2. Also, as a suggestion, perhaps this message should be more user
frindly, by telling
to the user which jar file was not allowed by the framework.
I'm looking forward from your valuable answers.
Thank you.
  Regards,
   Florin

Re: List of jar files that are not allowed by the UIMA framework

Posted by Spico Florin <sp...@gmail.com>.
Thank you, Marshall!
   I've found out that also the uimaj-*.jar can cause the same erros. I've
erased  from the classpath the dependencies on the uimaj-core.jar and
uimaj-tools.jar and voila...I overpassed this exception..But not a clean
installation. I've bumped out in another one....I'll write a new mail for
that.

  Thanks and keep out the good work.

Regards,
 florin

On Tue, Jun 19, 2012 at 11:50 PM, Marshall Schor <ms...@schor.com> wrote:

> The UIMA framework Jars are the Jars in the binary distribution in the lib
> directory. These might change from time to time, but currently are:
>
> jVinci.jar
> uima-adapter-soap.jar
> uima-adapter-vinci.jar
> uima-core.jar
> uima-cpe.jar
> uima-document-annotation.jar
> uima-examples.jar
> uima-tools.jar
> uimaj-bootstrap.jar
>
> HTH. -Marshall
>
>
>
>
> On 6/18/2012 5:34 AM, Spico Florin wrote:
>
>> Hello!
>>
>>  I'm using the PEAR installer for install my pear file. While running it,
>> I'm bumping in the exception:
>>
>>
>> Verification of MyAnnotator  failed =>
>>  org.apache.uima.resource.**ResourceInitializationExceptio**n: The class
>> MyAnnotator is not a valid Analysis Component.  You must specify
>> an
>> Annotator, CAS Consumer, Collection Reader, or CAS Multiplier. If you are
>> calling ResourceManager.**setExtensionClassPath, this error can also be
>> caused if you have put UIMA framework jar files on the extension
>> classpath, which is not allowed"
>>
>> 1.Can you please provide a full list of jar files that are required by
>> the UIMA framework in order to check exactly
>> which jar file should be remove from my classpath.
>> 2. Also, as a suggestion, perhaps this message should be more user
>> frindly, by telling
>> to the user which jar file was not allowed by the framework.
>> I'm looking forward from your valuable answers.
>> Thank you.
>>   Regards,
>>    Florin
>>
>>

Re: List of jar files that are not allowed by the UIMA framework

Posted by Marshall Schor <ms...@schor.com>.
The UIMA framework Jars are the Jars in the binary distribution in the lib 
directory. These might change from time to time, but currently are:

jVinci.jar
uima-adapter-soap.jar
uima-adapter-vinci.jar
uima-core.jar
uima-cpe.jar
uima-document-annotation.jar
uima-examples.jar
uima-tools.jar
uimaj-bootstrap.jar

HTH. -Marshall



On 6/18/2012 5:34 AM, Spico Florin wrote:
> Hello!
>
>   I'm using the PEAR installer for install my pear file. While running it,
> I'm bumping in the exception:
>
>
> Verification of MyAnnotator  failed =>
>   org.apache.uima.resource.ResourceInitializationException: The class
> MyAnnotator is not a valid Analysis Component.  You must specify
> an
> Annotator, CAS Consumer, Collection Reader, or CAS Multiplier. If you are
> calling ResourceManager.setExtensionClassPath, this error can also be
> caused if you have put UIMA framework jar files on the extension
> classpath, which is not allowed"
>
> 1.Can you please provide a full list of jar files that are required by
> the UIMA framework in order to check exactly
> which jar file should be remove from my classpath.
> 2. Also, as a suggestion, perhaps this message should be more user
> frindly, by telling
> to the user which jar file was not allowed by the framework.
> I'm looking forward from your valuable answers.
> Thank you.
>    Regards,
>     Florin
>