[ 
https://issues.apache.org/jira/browse/UIMA-6215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084306#comment-17084306
 ] 

Marshall Schor commented on UIMA-6215:
--------------------------------------

My guess is that the classpath for this project is set up in an unusual way.  
It should be set up so that the classes in the RoomNumberAnnotator project come 
before those in the uimaj-examples.

 

In this particular tutorial, this order is needed, because there are two 
identically named classes ("org.apache.uima.tutoria.ex1.RoomNumberAnnotator")

 

To check this, look at the tutorial section titled "Testing the Annotator".  
Here you can see the classpath for running the "CVD" is being set up.  In "Step 
2" there's a picture of the Eclipse run configuration.  Use the controls in 
this configuration to insure your version of the class is in front of (above, 
in the list) the examples/ one.

> UIMA Hello world Project
> ------------------------
>
>                 Key: UIMA-6215
>                 URL: https://issues.apache.org/jira/browse/UIMA-6215
>             Project: UIMA
>          Issue Type: Question
>            Reporter: dhinesh
>            Priority: Minor
>         Attachments: image-2020-04-09-11-52-53-803.png, 
> image-2020-04-09-12-06-30-995.png
>
>
> Hi Friends,
> I am new to UIMA framework. I have created UIMA hello world project as per 
> apache UIMA documentation.
> Project Name : RoomNumberAnnotator
> Analysis Engine: RoomNumberAnnotator/desc/RoomNumberAnnotatorDescriptor.xml
> imported Project Name as per document: uimaj-examples
> when I am executing the project it always calling 
> uimaj-examples/src/org.apache.uima.tutorial.ex1.RoomNumberAnnotator not 
> calling 
> RoomNumberAnnotator/src/org.apache.uima.tutorial.ex1.RoomNumberAnnotator.
> How do i make call 
> RoomNumberAnnotator/src/org.apache.uima.tutorial.ex1.RoomNumberAnnotator class



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to