On 12.02.2014, at 11:22, Peter Litsegård <[email protected]> wrote:
> Why would the > ConceptMapper want to use these as the types declared on those xmls have > already been "Cas generated" and their .class files are present in the CM-jar? The generated JCas classes are just a way of mapping the UIMA type system to the Java type system. They offer a convenience for programming using the known class/getter/setter concepts in Java. These classes are not a substitute for the XML-based type system definitions. The type system definitions are always required in addition to the JCas classes. When you use only the JCas classes, but did not initialize the CAS with the proper types, you'll get such an error message: "JCas type used in Java code, but was not declared in the XML type descriptor" Cheers, -- Richard
