Yes! The "run" classpath is the problem. I was using the UIMA
DocumentAnalyzer without binding the uimaj-example to my project. Thank you
very much!Ahmed

On Tue, Jul 29, 2008 at 6:12 PM, Marshall Schor <[EMAIL PROTECTED]> wrote:

>
>
> Ahmed Abdeen Hamed wrote:
>
>> Hello,I am developing an application that utilizes the conceptMapper
>> project. I created a new project using Eclipse and "imported" the
>> conceptMapper project into my project. I didn't get any compilation errors
>> after I have done so. However, as I am running my Analysis Engines that
>> reference classes from the conceptMapper project, I get
>> ClassNotFoundException. I keep checking my Java Build Path, but I can't
>> see
>> anything wrong with it.
>>
>
> It sounds like the "build" step is working ok - you're not getting compile
> errors related to class not found, is this correct?
>
> But it sounds like the "run" step is not working ok.  Can you check the
> class path for the "run" (not "build") step?
>
> -Marshall
>
>
>  I would appreciate any insights!
>> Best wishes,
>> -Ahmed
>>
>> org.apache.uima.resource.ResourceInitializationException: The class
>>
>> org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl
>> could not be found. (Descriptor:
>>
>> file:/Users/ahmedabdeenhamed/Projects/workspace/tf/src/edu/mbl/library/tf/descriptor/dictionary/my-ae.xml)
>>
>> at org.apache.uima.resource.impl.ResourceManager_impl.registerResource(
>> ResourceManager_impl.java:556)
>>
>> at
>>
>> org.apache.uima.resource.impl.ResourceManager_impl.initializeExternalResources(
>> ResourceManager_impl.java:413)
>>
>> at org.apache.uima.resource.Resource_ImplBase.initialize(
>> Resource_ImplBase.java:146)
>>
>> at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(
>> AnalysisEngineImplBase.java:109)
>>
>> at
>>
>> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(
>> PrimitiveAnalysisEngine_impl.java:124)
>>
>> 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:352)
>>
>> at
>> org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:243
>> )
>>
>> at
>> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(
>> AggregateAnalysisEngine_impl.java:413)
>>
>> at
>>
>> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(
>> AggregateAnalysisEngine_impl.java:361)
>>
>> at
>>
>> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(
>> AggregateAnalysisEngine_impl.java:183)
>>
>> 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.docanalyzer.DocumentAnalyzer.runProcessingThread(
>> DocumentAnalyzer.java:1167)
>>
>> at
>> org.apache.uima.tools.docanalyzer.DocumentAnalyzer$ProcessingThread.run(
>> DocumentAnalyzer.java:1267)
>>
>> Caused by: java.lang.ClassNotFoundException:
>>
>> org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl
>>
>> 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:280)
>>
>> 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:164)
>>
>> at org.apache.uima.resource.impl.ResourceManager_impl.registerResource(
>> ResourceManager_impl.java:553)
>>
>> ... 18 more
>>
>>

Reply via email to