./mvnw clean install
When I first run the install command, it runs into followin
For me the solution was to set the version of the maven compiler plugin to 3.8.0 and specify the release (9 for in your case, 11 in mine)
maven-compiler-plugin 3.8.0 11