Closed bkebir closed 7 months ago
We think that the problem stems from a dependency to which we no longer have access, which may have been public at the outset and has now been made private de.gurkenlabs.semverguru:de.gurkenlabs.semverguru.gradle.plugin:1.3\r\nNo matching variant of de.gurkenlabs:semverguru:1.3 was found.
This is not the case. The error message you've mentioned tells me that you are not compiling with Java 21. Please make sure that not only the project JDK is Java 21, but also that Gradle is using the project JDK.
Have you been able to resolve this?
Unfortunately not, we have the right JDK but we don't know if gradle can retrieve the right JDK, we've also tried adding dependencies and plugins as you advised but nothing works
Is there a reason you are preferring VSCode over a full Java IDE such as IntelliJ or Eclipse? The Gradle integration in IntelliJ, for example, is much better and the community can be more helpful if you're using a similar toolchain.
Describe the bug When you run the project that you haven't been able to run for 3 weeks (since you updated the project)
Stack Trace The error message you get either in your console or the
crash.txt
located in your program's root directory.Program.java is a non-project file, only syntax errors are reported
To Reproduce Steps to reproduce the behavior:
Expected behavior I want to be able to launch the project.
Screenshots
Your System:
Additional context I've updated my java to version 21 but it still doesn't work, but it works again when you go back to an earlier version of the project