No.. this simple test fails
@Test
public void testJCas() throws Exception {
JCas jcas = CasCreationUtils.createCas().getJCas();
Pair p = new Pair(jcas);
}
org.apache.uima.cas.CASRuntimeException: JCas type
"org.apache.ctakes.typesystem.type.util.Pair" used in Java code, but was not
declared in the XML type descriptor.
Daniel Cosio
[email protected]
> On Sep 30, 2024, at 1:11 PM, Richard Eckart de Castilho <[email protected]>
> wrote:
>
> Are you using any (custom) JUnit extensions or super-classes to your test
> classes that may already make calls to UIMA or reference JCas classes?
>
> -- Richard
>
>> On 30. Sep 2024, at 18:45, Daniel Cosio <[email protected]> wrote:
>>
>> Thanks for getting back to me.. Ya, I did try putting it in a static block..
>> no luck there.
>
>