Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-463

Can't find org.apache.uima.examples.xmi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Examples
    • None
    • Eclipse 3.2.2, ubuntu linux 7.04, JRE: java-1.5.0-sun-1.5.0.11

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            aborthwick Andrew Borthwick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: