The cpeGui shell script sets up the classpath using UIMA_CLASSPATH environment
variable.
Did you set this so it includes a the path to the WhitespaceTokenizer jar file?
-Marshall
On 1/25/2012 9:42 AM, Renaud Richardet wrote:
Hello,
When using the CPE Configurator GUI (via ./bin/cpeGui.sh), I always
get the same error:
org.apache.uima.resource.ResourcelnitializationException:
Initialization of CAS Processor with name "WhitespaceTokenizer"
failed.
CausedBy: org.apache.uima.resource.ResourceConfigurationException:
Initialization of CAS Processor with name "WhitespaceTokenizer"
failed.
CausedBy: org.apache.uima.resource.ResourcelnitializationException:
Annotator class "org.apache.uima.annotator.WhitespaceTokenizer" was
not found.
(Descriptor:
file:/Users/richarde/dev/pears/WhitespaceTokenizerldesc/WhitespaceTokenizer.xml)
CausedBy: java.lang.ClassNotFoundException:
org.apache.uima.annotator.WhitespaceTokenizer
Am I missing something? It seems like a class path issue. I thought
the CPE GUI would pick-up the jar from the installed pear?
Thanks, Renaud