ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murali Nagendranath <mmin...@gmail.com>
Subject Re: ctakes with uimafit
Date Mon, 22 Jul 2013 16:09:30 GMT
Hi Aveek,


Do you have the fsm lib including in your dependencies?


Ex: http://svn.apache.org/repos/asf/ctakes/trunk/pom.xml
<dependency>


                               <groupId>net.sourceforge.openai</groupId>


                               <artifactId>openaifsm</artifactId>


<version>0.0.1</version>


                       </dependency>

-- Murali

On Mon, Jul 22, 2013 at 12:01 PM, Mukhopadhyay, Aveek <
mukhopadhyay.11@buckeyemail.osu.edu> wrote:

>  Hi all,
>
>  I am trying to use the ctakes Aggregate Analysis Engine with uimafit,
> and I am stuck at a problem now. Any ideas on how to solve this? I am using
> maven dependencies for ctakes and have the ctakes resources project in
> build path.
>
>  - loading feature template
> - loading lexica
> - loading model
>  Exception in thread "main" java.lang.NoClassDefFoundError:
> net/openai/util/fsm/State
> at
> org.apache.ctakes.contexttokenizer.ae.ContextDependentTokenizerAnnotator.initialize(ContextDependentTokenizerAnnotator.java:95)
> at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250)
> at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:156)
> 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:269)
> at
> org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:387)
> at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:254)
> at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:431)
> at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:375)
> at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:185)
> 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:269)
> at
> org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:387)
> at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:254)
> at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:431)
> at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:375)
> at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:185)
> at
> org.uimafit.factory.AnalysisEngineFactory.createAggregate(AnalysisEngineFactory.java:505)
> at
> org.uimafit.factory.AggregateBuilder.createAggregate(AggregateBuilder.java:200)
> at com.bmi.app.App.main(App.java:54)
> Caused by: java.lang.ClassNotFoundException: net.openai.util.fsm.State
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 22 more
>

Mime
View raw message