Manuel, first download the latest uima binary release (ver.2.3.1) from http://uima.apache.org/downloads.cgi. You seem to be working with an old SNAPSHOT release: uimaj-2.3.0-incubating-bin.tar.gz
Once you get the latest uima all you really need to run the Document Analyzer is to set UIMA_HOME. JC On Fri, Mar 18, 2011 at 7:30 AM, Manuel <[email protected]> wrote: > Hi, > > I'm starting to work with UIMA in a Mac OS system. > > Trying to run an example from the tutorial, I got the next error: > > http://oi55.tinypic.com/1zeduf7.jpg > > My environment variables are: > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users > /manueldelavilla/apache-uima > JAVA_HOME=/Library/Java/Home > UIMA_HOME=/Users/manueldelavilla/apache-uima > > Java 1.6 > eclipse-java-helios-SR2-macosx-cocoa-x86_64 > uimaj-2.3.0-incubating-bin.tar.gz > > > Where am I wrong? Can you help me? > > Thanks in advance, > > Manuel. > > org.apache.uima.UIMARuntimeException at > > org.apache.uima.impl.UIMAFramework_impl._newCollectionProcessingManager > (UIMAFramework_impl.java:255) > > at > > org.apache.uima.UIMAFramework.newCollectionProcessingManager > (UIMAFramework.java:201) > > at > org.apache.uima.tools.docanalyzer.DocumentAnalyzer.runProcessingThread > (DocumentAnalyzer.java:1089) > > at > org.apache.uima.tools.docanalyzer.DocumentAnalyzer$ProcessingThread.run > (DocumentAnalyzer.java:1267) > > Caused by: java.lang.ClassNotFoundException: > org.apache.uima.collection.impl.cpm.CPMImpl > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:169) > at > org.apache.uima.impl.UIMAFramework_impl._newCollectionProcessingManager > (UIMAFramework_impl.java:247) > >
