I am trying to get a project to build in IntelliJ but I keep getting an error. I have tried different JDKs such as the jet brains and OpenJDK but I always get this error
Everything I have seems to be pointing to java 17 so I feel a bit confused
Java compiler settings
Maven Runner Settings
I feel like it could have to do with my project layout?
maven.compiler.target values are wrong.
1.17 and set it instead to