Maven compilation issue with Java 9

Just add this

<forceJavacCompilerUse>true</forceJavacCompilerUse>

to your maven compiler build plugin in your POM and you’ll see all the javac errors! Source with more details

Leave a Comment