I am currently trying to set up a project, but I keep running into this issue. I am currently using maven 3.9.6 and Java 22.0.1.
I can provide more info if needed, right now I have no idea what to provide.
I have made sure everything in Intellij is set to java 22. In the POM file I have also set the Java version to be 22 in source and target.
I have also tried running individual scripts not related to the project in the project files and they run with not issue.
enter image description here
enter image description here
MengHong Chia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.