In IntelliJ, I\'m getting this strange error message when I try to build from the build menu
Error: java: release version 10 not supported
I got a similar error but did not use Maven.
Solved it by updating the IntelliJ configuration:
Project bytecode version