Re: Eclipse ClassNotFoundException
Oh sorry. I typed it out rather than copying the error. The sml should read xml. The paths are correct and uima appears to find the annotator but it throws an error on save. On Tue, May 14, 2019 at 11:48 AM Andrew Trice wrote: > Your file suffix is “sml" > > > On May 14, 2019, at 11:45 AM, Benedict Holland < > benedict.m.holl...@gmail.com> wrote: > > > > Hi All, > > > > I have a java annotator called annotators.SentenceSplittingAnnotator with > > an associated xml descriptor. When I define the "Name of the Java class > > file", I browse and select "annotators.SentenceSplittingAnnotator". I > then > > go to save the xml file and I get the following error: > > > > The Descriptor is invalid for the following reason: > > ResourceInitilizationException: the class > > annotators.SentenceSplittingAnnotator could not be found. (Descriptor: > > file:/Sentencesplittingannotator.sml) caused by: ClassNotFoundException: > > annotators.SentenceSplittingAnnotator cannot be found by > > org.apache.uima.runtime_3.0.2. > > > > I updated to the latest version of uima 3.0.2 and eclipse to 2019-03. Any > > ideas what could be causing the problem? > > > > Thanks, > > ~Ben > >
Re: Eclipse ClassNotFoundException
Your file suffix is “sml" > On May 14, 2019, at 11:45 AM, Benedict Holland > wrote: > > Hi All, > > I have a java annotator called annotators.SentenceSplittingAnnotator with > an associated xml descriptor. When I define the "Name of the Java class > file", I browse and select "annotators.SentenceSplittingAnnotator". I then > go to save the xml file and I get the following error: > > The Descriptor is invalid for the following reason: > ResourceInitilizationException: the class > annotators.SentenceSplittingAnnotator could not be found. (Descriptor: > file:/Sentencesplittingannotator.sml) caused by: ClassNotFoundException: > annotators.SentenceSplittingAnnotator cannot be found by > org.apache.uima.runtime_3.0.2. > > I updated to the latest version of uima 3.0.2 and eclipse to 2019-03. Any > ideas what could be causing the problem? > > Thanks, > ~Ben
Eclipse ClassNotFoundException
Hi All, I have a java annotator called annotators.SentenceSplittingAnnotator with an associated xml descriptor. When I define the "Name of the Java class file", I browse and select "annotators.SentenceSplittingAnnotator". I then go to save the xml file and I get the following error: The Descriptor is invalid for the following reason: ResourceInitilizationException: the class annotators.SentenceSplittingAnnotator could not be found. (Descriptor: file:/Sentencesplittingannotator.sml) caused by: ClassNotFoundException: annotators.SentenceSplittingAnnotator cannot be found by org.apache.uima.runtime_3.0.2. I updated to the latest version of uima 3.0.2 and eclipse to 2019-03. Any ideas what could be causing the problem? Thanks, ~Ben