You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by Justin Zhang <ju...@gmail.com> on 2015/07/28 00:04:56 UTC
xml "org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" not found
Hello Everyone,
Where is the file
""org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" the program is
looking for? Any suggestions for trouble shooting? Where the
file TokenizerAnnotator.xml should be in the path? and Where is the file
online (to check if the local file is the one required?)
error message:
Caused by: org.apache.uima.resource.ResourceInitializationException: An
import could not be resolved. No .xml file with name
"org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" was found in
the class path or data path. (Descriptor:
file:/Users/justin/App/eclipse_mars/workspace_eclipse_mars/ctakes/ctakes-smoking-status-res/target/classes/org/apache/ctakes/smokingstatus/analysis_engine/ProductionPostSentenceAggregate_step1.xml)
at
org.apache.ctakes.smokingstatus.ae.ClassifiableEntries.initialize(ClassifiableEntries.java:178)
at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250)
--
Justin
Re: xml "org.apache.ctakes.core.analysis_engine.TokenizerAnnotator"
not found
Posted by Justin Zhang <ju...@gmail.com>.
Thanks Pei,
I will test out if it works following the instruction. I will make a
report.
Justin
On Thu, Jul 30, 2015 at 4:02 PM, Pei Chen <ch...@apache.org> wrote:
> Justin,
> Is this still an issue for you? I believe there was a known issue and
> someone submitted a patch:
>
> https://issues.apache.org/jira/browse/CTAKES-370?jql=component%20%3D%20ctakes-smoking-status%20AND%20project%20%3D%20CTAKES%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC
>
> [You probably don't want to use any references to the
> ctakes-smoking-status-res/target descriptors at least until the issue
> has been resolved]
>
> On Mon, Jul 27, 2015 at 6:04 PM, Justin Zhang <ju...@gmail.com>
> wrote:
> > Hello Everyone,
> >
> > Where is the file
> > ""org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" the program
> is
> > looking for? Any suggestions for trouble shooting? Where the
> > file TokenizerAnnotator.xml should be in the path? and Where is the file
> > online (to check if the local file is the one required?)
> >
> > error message:
> >
> > Caused by: org.apache.uima.resource.ResourceInitializationException: An
> > import could not be resolved. No .xml file with name
> > "org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" was found in
> > the class path or data path. (Descriptor:
> >
> file:/Users/justin/App/eclipse_mars/workspace_eclipse_mars/ctakes/ctakes-smoking-status-res/target/classes/org/apache/ctakes/smokingstatus/analysis_engine/ProductionPostSentenceAggregate_step1.xml)
> > at
> >
> org.apache.ctakes.smokingstatus.ae.ClassifiableEntries.initialize(ClassifiableEntries.java:178)
> > at
> >
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250)
> >
> > --
> > Justin
>
--
Justin
Re: xml "org.apache.ctakes.core.analysis_engine.TokenizerAnnotator"
not found
Posted by Pei Chen <ch...@apache.org>.
Justin,
Is this still an issue for you? I believe there was a known issue and
someone submitted a patch:
https://issues.apache.org/jira/browse/CTAKES-370?jql=component%20%3D%20ctakes-smoking-status%20AND%20project%20%3D%20CTAKES%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC
[You probably don't want to use any references to the
ctakes-smoking-status-res/target descriptors at least until the issue
has been resolved]
On Mon, Jul 27, 2015 at 6:04 PM, Justin Zhang <ju...@gmail.com> wrote:
> Hello Everyone,
>
> Where is the file
> ""org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" the program is
> looking for? Any suggestions for trouble shooting? Where the
> file TokenizerAnnotator.xml should be in the path? and Where is the file
> online (to check if the local file is the one required?)
>
> error message:
>
> Caused by: org.apache.uima.resource.ResourceInitializationException: An
> import could not be resolved. No .xml file with name
> "org.apache.ctakes.core.analysis_engine.TokenizerAnnotator" was found in
> the class path or data path. (Descriptor:
> file:/Users/justin/App/eclipse_mars/workspace_eclipse_mars/ctakes/ctakes-smoking-status-res/target/classes/org/apache/ctakes/smokingstatus/analysis_engine/ProductionPostSentenceAggregate_step1.xml)
> at
> org.apache.ctakes.smokingstatus.ae.ClassifiableEntries.initialize(ClassifiableEntries.java:178)
> at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250)
>
> --
> Justin