This problem is most likely caused by the fact that the JCas classes are overwritten. UIMA Ruta provides a few JCas classes of the types defined for seeding, inference and additional analysis engines. One of them (at least, but most important) contains additional methods for storing information about annotations and more: RutaBasic. These JCas classes must not be overwritten.
There is a mention in the README for users that apply JCasGenPomFriendly:
If you use the uimaFIT JCasGenPomFriendly in Maven and want to use UIMA Ruta
as a standalone annotator you have to exclude the generated UIMA Ruta basic
type files from the build, e.g., by adding:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<excludes>
<exclude>org/apache/uima/ruta/type/*.java</exclude>
</excludes>
</configuration>
</plugin>
Can you please check if you generated RutaBasic and if the class contains for example the method setLowMemoryProfile.