I am getting the below error while trying to deploy the spring boot project to koyeb web service.
[INFO]
[INFO] — clean:3.3.2:clean (default-clean) @ epatient_restapi —
[INFO]
[INFO] — resources:3.3.1:resources (default-resources) @ epatient_restapi —
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO]
[INFO] — compiler:3.11.0:compile (default-compile) @ epatient_restapi —
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 11 source files with javac [debug release 17] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.846 s
[INFO] Finished at: 2024-09-10T14:55:45Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project epatient_restapi: Fatal error compiling: invalid flag: --release → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.