Maven 3.8.0 Compiler - Fatal Error Compiling: Release Version 11 Not Supported

Maven Java error compiling on build: maven-compiler-plugin

I managed to find a solution.

I installed JDK 11 and set it at Window > Preferences > Java > Installed JREs > Add > jdk-11.0.9

Downloaded at: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html

Maven Build Failure - Compiler Plugin

You need Java 11 to build the project. I was able to build it locally using JDK 11. I used maven wrapper. You can try using the following command.

./mvnw clean install

Please try again after switching to JDK 11 and make sure you checkout the master branch.



Related Topics



Leave a reply



Submit