Could not resolve all artifacts for configuration ‘classpath’. requires at least JVM runtime version 17. This build uses a Java 11 JVM
I’m using Vscode with Java plugins.
I used asdf
to install Java.
A started a new project with Spring Initializer
, using Java 21 and Gradle.
Problem with linking multiple Java source directories in Gradle project
Body:
Problem with linking multiple Java source directories in Gradle project
Body:
How to depend java 21 compiled class on java 17 project (Gradle)
HelloWorld/ ├── core └── api/ ├── stable └── preview HelloWorld project is java 17 project We cant upgrade project java version due to our almost client.. api/preview project uses Java 21 external library So, I did it preview/build.gradle java { toolchain.languageVersion = JavaLanguageVersion.of(21) // due to java 21 external library } and core/build.gradle dependencies { […]
How to depend java 21 compiled class on java 17 project (Gradle)
HelloWorld/ ├── core └── api/ ├── stable └── preview HelloWorld project is java 17 project We cant upgrade project java version due to our almost client.. api/preview project uses Java 21 external library So, I did it preview/build.gradle java { toolchain.languageVersion = JavaLanguageVersion.of(21) // due to java 21 external library } and core/build.gradle dependencies { […]
Build failed with an exception in gradle using language java
FAILURE: Build failed with an exception.
Symbol not found/accessible from another gradle subproject, modular java
I am building a couple modular java projects, and have them setup as gradle subprojects. They’re both modular java, and I want one(linrboot) to reference a class in the other(linr), but VSCode is saying it’s not accessible while the build fails cause it can’t find the symbol. I’m sure there’s just something basic I’m missing.
How to declare plugin version as part of version catalog
How to declare plugin version as part of version catalog, so its dynamically loaded across projects. In the following case I want to load 4.10.0 from the version catalog
Gradle stops build at the compileJava stage without an error
I don’t know how to describe my problem. I just create a new project via spring initializr or spring boot project in Intellij idea, and when I try to run Main, the build just stops at compileJava stage
Circular dependency depends on following task issues
I ran into this issue, and I don’t understand what is happening. Please help
The error is;