Hello,

what I was able to solve with the ConceptMapper wrapper, I am now not able in the OpenNLP wrapper :)

The error message I get is:

        Annotator class "opennlp.uima.tokenize.Tokenizer" not found.

when open the Tokenize.xml descriptor file into CAS Visual Debugger (error log attached).

All libraries path names are local and jar-libraries are in the projects sub-folders. I also checked the runtime environment for absolute path names.

Any hints or ideas how to set up the runtime environment correctly I would highly appreciate.

Regards,
Toby

ERROR LOG
-----------------------------------------------------------------

4/20/09 4:04:37 PM - 10: org.apache.uima.tools.cvd.MainFrame.handleException(575): SEVERE: Annotator class "opennlp.uima.tokenize.Tokenizer" was not found. (Descriptor: file:/Users/tobys/Documents/workspace/exampleOpenNLP2/ desc/Tokenizer.xml) org.apache.uima.resource.ResourceInitializationException: Annotator class "opennlp.uima.tokenize.Tokenizer" was not found. (Descriptor: file:/Users/tobys/Documents/workspace/exampleOpenNLP2/desc/ Tokenizer.xml) at org .apache .uima .analysis_engine .impl .PrimitiveAnalysisEngine_impl .initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:208) at org .apache .uima .analysis_engine .impl .PrimitiveAnalysisEngine_impl .initialize(PrimitiveAnalysisEngine_impl.java:157) at org .apache .uima .impl .AnalysisEngineFactory_impl .produceResource(AnalysisEngineFactory_impl.java:94) at org .apache .uima .impl .CompositeResourceFactory_impl .produceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java: 258) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java: 326)
        at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1527)
at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524) at org .apache .uima .tools .cvd .control .AnnotatorOpenEventHandler .actionPerformed(AnnotatorOpenEventHandler.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 2028) at javax.swing.AbstractButton $Handler.actionPerformed(AbstractButton.java:2351) at javax .swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java: 387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java: 242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java: 1220)
        at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
at javax.swing.plaf.basic.BasicMenuItemUI $Handler.mouseReleased(BasicMenuItemUI.java:1261)
        at java.awt.Component.processMouseEvent(Component.java:6126)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5891)
        at java.awt.Container.processEvent(Container.java:2102)
        at java.awt.Component.dispatchEventImpl(Component.java:4497)
        at java.awt.Container.dispatchEventImpl(Container.java:2160)
        at java.awt.Component.dispatchEvent(Component.java:4327)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java: 4366) at java.awt.LightweightDispatcher.processMouseEvent(Container.java: 4030)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3960)
        at java.awt.Container.dispatchEventImpl(Container.java:2146)
        at java.awt.Window.dispatchEventImpl(Window.java:2440)
        at java.awt.Component.dispatchEvent(Component.java:4327)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java .awt .EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java: 300) at java .awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java: 210) at java .awt .EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java: 200) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 195) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 187)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.ClassNotFoundException: opennlp.uima.tokenize.Tokenizer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
at org .apache .uima .analysis_engine .impl .PrimitiveAnalysisEngine_impl .initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:205)
        ... 36 more

Reply via email to