-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I am trying depclean 2.0.5 with Java 11 based project as mentioned here
mvn compile
mvn se.kth.castor:depclean-maven-plugin:2.0.5:depclean
Java version
debraj@Nexlas-MacBook-Pro backend-connectors % java -version
openjdk version "11.0.26" 2025-01-21 LTS
OpenJDK Runtime Environment Zulu11.78+15-CA (build 11.0.26+4-LTS)
OpenJDK 64-Bit Server VM Zulu11.78+15-CA (build 11.0.26+4-LTS, mixed mode)
But I am getting below error
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal se.kth.castor:depclean-maven-plugin:2.0.5:depclean (default-cli) on project parser-properties: Execution default-cli of goal se.kth.castor:depclean-maven-plugin:2.0.5:depclean failed: Unsupported class file major version 65 -> [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.
[ERROR]
I tried older version also like 1.1.x there also I was getting the error.
Can somone suggest how to get around this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels