Using the vscode gradle extension directly works fine, same is the case when using gradle via the java project manager (via command pallette). When picking the Quarkus option via the java project manager of using the Quarkus plugin directly, the java project manager is also failing to detect the project and I am seeing similar exceptions in the logs (see below). The generated code with Quarkus runs fine using ./gradlew quarkusDev.
java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: org.gradle.tooling.BuildException: Could not fetch model of type 'GradleSourceSets' using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.6-bin.zip'.
at java.base/java.util.concurrent.CompletableFuture.reportJoin(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.join(Unknown Source)
at com.microsoft.gradle.bs.importer.GradleBuildServerProjectImporter.importToWorkspace(GradleBuildServerProjectImporter.java:171)
at org.eclipse.jdt.ls.core.internal.managers.ProjectsManager.importProjects(ProjectsManager.java:162)
at org.eclipse.jdt.ls.core.internal.managers.ProjectsManager.initializeProjects(ProjectsManager.java:124)
at org.eclipse.jdt.ls.core.internal.handlers.InitHandler$1.runInWorkspace(InitHandler.java:263)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Java project manager is unable to detect Spring Boot project generated via vscode-spring-initializr or quarkus.
STR:
Java: Create Java Project
Spring Boot
Gradle project
3.2.5
Java
dk.ndlarsen
todo-api
jar
21
Spring Boot DevTools
Spring Web
todo-api
-> pickgenerate into this folder
error.log output.txt todo-api.zip
UPDATE:
Using the vscode gradle extension directly works fine, same is the case when using gradle via the java project manager (via command pallette). When picking the Quarkus option via the java project manager of using the Quarkus plugin directly, the java project manager is also failing to detect the project and I am seeing similar exceptions in the logs (see below). The generated code with Quarkus runs fine using
./gradlew quarkusDev
.I can, however, wget the the resource just fine