Dennis Geller wrote:
> Having been able to run the tutorial example I started to make my own
> baby annotators. Everything seems to be good until I tried to run
> document analyzer. A had to extend the UIMA_CLASSPATH as my pieces were
> not in exactly the same directories as the tutorial example, and that
> also worked well until this error: The error message says
> org.apache.uima.resource.ResourceInitializationException: Annotator
> class "org.apache.uima.DDD.Sensor.java was not found. (Descriptor:
> file:/c:/apache-uima/examples/descriptors/DDD/Sensorannotator.xml)
>
> I do have both of the named directories on the class path, and checked
> that the Sensor.java file indeed defines a Sensor class. I'd appreciate
> a suggestion as to what to look for or do to make this error go away.
>
> Thanks
>
Do you have the directory in the classpath where the org/apache/uima/DDD/Sensor.class
path *starts*, i.e., the directory that contains the "org" subdirectory.
If this was not the problem, please provide more details and we may be
able to help.
--Thilo
|