Hello All,
I am attempting to integrate the OpenNLP application with the UIMA
framework. I created the PEAR file successfully.
When I run the UIMA Pear Installer from eclipse, it works. When I attempt
to run the runPearInstaller.bat file, it fails.
When I run the CAS Visual Debugger from cvd.bat, I get the error below.
When I run it from eclipse, everything works.
Any idea about how to proceed?
Thanks,
~Ben
Error:
12:54:05.375 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class
org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper
12:54:05.410 - 16:
org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper.createRM:
CONFIG: UIMA pear runtime set classpath to
"F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/jwnl.jar;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/opennlp-maxent.jar;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/bin;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/opennlp-tools.jar;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/opennlp-uima.jar"
for UIMA component opennlp.uima.OpenNlpTextAnalyzer.
12:54:05.410 - 16:
org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper.createRM:
CONFIG: UIMA pear runtime set datapath to
"F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/models" for UIMA
component opennlp.uima.OpenNlpTextAnalyzer.
12:54:05.411 - 16:
org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper.createRMmap:
CONFIG: UIMA pear runtime: creating a Map from class
"F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/jwnl.jar;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/opennlp-maxent.jar;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/bin;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/opennlp-tools.jar;F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/lib/opennlp-uima.jar"
and data path
"F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/models" to its
resource manager instance.
12:54:05.549 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:05.578 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:05.625 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:06.339 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:07.02 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:07.391 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:07.860 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:09.99 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:09.544 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:09.875 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:10.365 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:11.992 - 16:
org.apache.uima.util.SimpleResourceFactory.produceResource: CONFIG: trying
Resource class org.apache.uima.resource.impl.DataResource_impl
12:54:37.527 - 16:
org.apache.uima.tools.cvd.MainFrame.handleException(526): SEVERE: Error
initializing
"org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper" from
descriptor
file:/F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/opennlp.uima.OpenNlpTextAnalyzer_pear.xml.
org.apache.uima.resource.ResourceInitializationException: Error
initializing
"org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper" from
descriptor
file:/F:/nlp/installed_pear/opennlp.uima.OpenNlpTextAnalyzer/opennlp.uima.OpenNlpTextAnalyzer_pear.xml.
at
org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:144)
at
org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:331)
at
org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:448)
at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1486)
at org.apache.uima.tools.cvd.MainFrame.loadAEDescripto