I don't see anything in Eclipse "problems".

Note that I see uima-core.jar, uima-documentation-annotation,jar, etc.
listed under the "default classpath" when I look at the classpath for
the UIMA CPE GUI (via Run | Run ... | UIMA CPE GUI | Classpath).  When
I added [UIMA-HOME]/lib/UIMA-Examples.jar to the classpath listed
here, it worked.

Regards,
Andrew

On 6/21/07, Adam Lally (JIRA) <[email protected]> wrote:

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

Adam Lally commented on UIMA-463:
---------------------------------

Hmm, it shouldn't be necessary to add uimaj-examples.jar to the classpath for 
the uimaj-examples project, because the source code for the examples should be 
in the uimaj-examples project itself.  So Eclipse should compile it and make 
those classes available in your project classpath.

Can you check the Eclipse "Problems" view and see if it lists any compilation 
errors?

> Can't find org.apache.uima.examples.xmi
> ---------------------------------------
>
>                 Key: UIMA-463
>                 URL: https://issues.apache.org/jira/browse/UIMA-463
>             Project: UIMA
>          Issue Type: Bug
>          Components: Examples
>         Environment: Eclipse 3.2.2, ubuntu linux 7.04, JRE:  
java-1.5.0-sun-1.5.0.11
>            Reporter: Andrew Borthwick
>
> When trying to run the example FileSystemCollectionReader.xml, which is find 
in 
[UIMA-HOME]/examples/descriptors/collection_reader/FileSystemCollectionReader.xml
> I get the below message.  I also get the same message with 
org.apache.uima.examples.cpe.FileSystemCollectionReader and everything else in 
org.apache.uima.examples.cpe
> Thanks,
> Andrew Borthwick
> __________________________________________
> org.apache.uima.resource.ResourceInitializationException: The class 
org.apache.uima.examples.xmi.XmiWriterCasConsumer could not be found. (Descriptor: 
/home/andrew/uima/apache-uima/examples/descriptors/cas_consumer/XmiWriterCasConsumer.xml)
>       at 
org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize(CollectionProcessingEngine_impl.java:83)
>       at 
org.apache.uima.impl.UIMAFramework_impl._produceCollectionProcessingEngine(UIMAFramework_impl.java:395)
>       at 
org.apache.uima.UIMAFramework.produceCollectionProcessingEngine(UIMAFramework.java:807)
>       at org.apache.uima.tools.cpm.CpmPanel.startProcessing(CpmPanel.java:538)
>       at org.apache.uima.tools.cpm.CpmPanel.access$000(CpmPanel.java:96)
>       at org.apache.uima.tools.cpm.CpmPanel$1.construct(CpmPanel.java:678)
>       at 
org.apache.uima.tools.util.gui.SwingWorker$2.run(SwingWorker.java:130)
>       at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.uima.resource.ResourceConfigurationException: The class 
org.apache.uima.examples.xmi.XmiWriterCasConsumer could not be found. (Descriptor: 
/home/andrew/uima/apache-uima/examples/descriptors/cas_consumer/XmiWriterCasConsumer.xml)
>       at 
org.apache.uima.collection.impl.cpm.container.CPEFactory.isDefinitionInstanceOf(CPEFactory.java:661)
>       at 
org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCasProcessor(CPEFactory.java:1076)
>       at 
org.apache.uima.collection.impl.cpm.container.CPEFactory.getCasProcessors(CPEFactory.java:550)
>       at 
org.apache.uima.collection.impl.cpm.BaseCPMImpl.init(BaseCPMImpl.java:253)
>       at 
org.apache.uima.collection.impl.cpm.BaseCPMImpl.<init>(BaseCPMImpl.java:127)
>       at 
org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize(CollectionProcessingEngine_impl.java:75)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply via email to