Unable to run the project

OK but the stack trace still says ‘’ Unsupported class file major version 61’ so runtime you have Maven using JDK 17.

Please check $JAVA_HOME and other env settings.
HTH
Jeroen