Starting (./mvnw) a jhipster microservice to which I added a KafkaTemplate with a typed message using Apache Avro gives me the following error in the maven-compiler-plugin:

java.lang.IllegalStateException: endPosTable already set
´´´

Keep in mind that I have added to the jhipster microservice  the plugin avro-maven-plugin of org.apache.avro to generate the java code of the Avro typed message from the definition of the scheme in the compilation phase. And it is when I put this when the error is generated in the maven-compiler-plugin in the phase management:

I solved the error specifying in file pom.xml in section maven-compiler-plugin the configuration parameter useIncrementalCompilation to false (default is true):