burpgpt
burpgpt copied to clipboard
[BUG] Unsupported class file major version 65 - running gradlew shadowJar
Prerequisites
- [X] Thoroughly read the README file.
- [X] Checked the project requirements and ensured they are met.
- [X] Searched for existing issues that may address the problem.
- [X] Performed basic troubleshooting steps.
Description
When running gradlew shadowJar to build the shadowJar I get the below error message Could not open settings generic class cache for settings file 'C:\Users\CJ\Downloads\burpgpt-main\burpgpt-main\settings.gradle' (C:\Users\CJ.gradle\caches\8.1.1\scripts\2gx8v8tcqh1jg3keo41y3ayb5).
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65
Steps to Reproduce
Windows CMD Prompt - C:\Users\CJ\Downloads\burpgpt-main\burpgpt-main> gradlew shadowJar
Expected Behavior
Would expect the build to complete.
Screenshots
No response
Environment
- OS: Windows 11 Pro
- Java version: 8 Update 401 Build 1.8.0_401-b10 -JDK: 19 and 21
- Burp Suite version: CE - v2024.1.1.6
- GPT model used: None
- Maximum tokens used: None
- Prompt used: [e.g. N/A -gradle : 8.6
Error Message
Unsupported class file major version 65
Additional Context
When running gradlew shadowJar --info
C:\Users\CJ\Downloads\burpgpt-main\burpgpt-main>gradlew shadowJar --info Initialized native services in: C:\Users\CJ.gradle\native Initialized jansi services in: C:\Users\CJ.gradle\native Received JVM installation metadata from 'C:\Program Files\Java\jdk-21': {JAVA_HOME=C:\Program Files\Java\jdk-21, JAVA_VERSION=21.0.2, JAVA_VENDOR=Oracle Corporation, RUNTIME_NAME=Java(TM) SE Runtime Environment, RUNTIME_VERSION=21.0.2+13-LTS-58, VM_NAME=Java HotSpot(TM) 64-Bit Server VM, VM_VERSION=21.0.2+13-LTS-58, VM_VENDOR=Oracle Corporation, OS_ARCH=amd64} The client will now receive all logging from the daemon (pid: 31228). The daemon log file: C:\Users\CJ.gradle\daemon\8.1.1\daemon-31228.out.log Starting 7th build in daemon [uptime: 52 mins 49.941 secs, performance: 99%, GC rate: 0.00/s, heap usage: 1% of 512 MiB, non-heap usage: 9% of 384 MiB] Using 24 worker leases. Now considering [C:\Users\CJ\Downloads\burpgpt-main\burpgpt-main] as hierarchies to watch Watching the file system is configured to be enabled if available File system watching is active Starting Build Compiling settings file 'C:\Users\CJ\Downloads\burpgpt-main\burpgpt-main\settings.gradle' using BuildScriptTransformer.
FAILURE: Build failed with an exception.
- What went wrong: Could not open settings generic class cache for settings file 'C:\Users\CJ\Downloads\burpgpt-main\burpgpt-main\settings.gradle' (C:\Users\CJ.gradle\caches\8.1.1\scripts\2gx8v8tcqh1jg3keo41y3ayb5).
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65
- Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 391ms Watched directory hierarchies: []