You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Dennis Geller <dg...@aptima.com> on 2008/03/04 21:44:53 UTC

Bewildered

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

-- 
***********************************
Dennis Geller, Ph.D. Computer and Communication Science   
Senior Software Developer
Direct Dial: 781.496.2461   Main Number: 781.935.3966 ext. 261   
Fax Number:  781.496-2498
E-mail:  dgeller@aptima.com
Aptima, Inc.
12 Gill Street, Suite 1400
Woburn, MA 01801 USA
http://www.aptima.com
************************************


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Re: Bewildered

Posted by Thilo Goetz <tw...@gmx.de>.
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