Hi Richard,
You were right I was mixing the versions of uimaj-core and
uimaj-json.
The error got resolved when I changed their versions to 2.8.1.
-----Original Message-----
From: Richard Eckart de Castilho [mailto:[email protected]]
Sent: Thursday, June 08, 2017 3:26 AM
To: [email protected]
Subject: Re: jcas to json error
On 07.06.2017, at 07:33, Kumar, Avanish <[email protected]> wrote:
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.uima.cas.impl.TypeImpl.getSuperType()Lorg/apache/uima/cas/impl/TypeImpl;
Could it be that you are mixing JARs from different version of UIMA, e.g.
uimaj-core 2.7.0 with uimaj-json 2.10.0 or something like that?
Cheers,
-- Richard
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.