IntelliJ: Error: java: release version 10 not supported
I got a similar error but did not use Maven. It’s resolved by updating the IntelliJ configuration: File -> Settings-> Build, Execution, Development -> Compiler -> Java Compiler update Project bytecode version to 8