Are you using Java 11 or java 8? It seems the maven-scr-plugin that you are using is not being supported by Java that you are using. Latest version of maven-scr-plugin supports java11 and if you are using java 11 try moving to latest version of maven-scr-plugin which is 1.26.4