Zoltán Szászi wrote:
> Hello,
>
> I'm trying to run a CollectionReader using UIMA's API. I
> use UIMAFramework.produceCollectionReader(resourceSpecifier, resourceManager,
> uimaParameters) method and I get ResourceInitializationException: the class
> could not be found. It seems my class isn't in the classpath. However I can
> instantiate my class with the standard constructor and it doesn't cause any
> exception, only if I invoke produceCollectinReader, so it is in the
> classpath! In the XML is the right class name, that's sure.
>
> What I'm doing wrong? Please help me, I don't understand the cause of
> problem. :-(
>   
I don't see anything obviously wrong... Could you post some additional
information such as
a) the fully-qualified name of the class not being found
b) the descriptor you're trying to instantiate
c) if you're using a resourceManager, how you are setting this up, in
particular, are you setting class paths for it.

and anything else you might think might help us help you :-) ...

-Marshall

Reply via email to