-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
depclean fails on Spring PetClinic project due to "Unsupported class file major version 65" error
Environment
- DepClean version: 2.0.5 (also tried with 2.0.X series lower version)
- Java version: OpenJDK 17.0.12 2024-07-16 LTS
- Maven version: Apache Maven 3.9.9
- Operating System: Tested on Windows , Mac, Ubuntu
Steps to Reproduce
- Clone the Spring PetClinic project:
git clone https://github.com/spring-projects/spring-petclinic.git cd spring-petclinic - Run DepClean on the root of the project:
Note: The issue persists with lower versions as well.
mvn se.kth.castor:depclean-maven-plugin:2.0.5:depclean
Expected Behavior
depclean should run successfully and analyze the dependencies of the Spring PetClinic project.
Actual Behavior
depclean fails with an error related to "Unsupported class file major version 65".
Error Message
-------------------------------------------------------
[INFO] Starting DepClean dependency analysis
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:32 min
[INFO] Finished at: 2024-09-20T07:09:25+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal se.kth.castor:depclean-maven-plugin:2.0.5:depclean (default-cli) on project spring-petclinic: Execution default-cli of goal se.kth.castor:depclean-maven-plugin:2.0.5:depclean failed: Unsupported class file major version 65 -> [Help 1]
lazrekyasser, goodale, MertCingoz and JakubJablonski2-TomTom
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working