redhat-developer / redhat-developer/vscode-java

Spring boot java gradle is a non-project file, only syntax errors are reported

Aperta
#3,515 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Gradle
Lingua principale
TypeScript
Stelle
2.3k
Fork
546
Merge medio
20h 1m
PR unite (30g)
11

Descrizione

Spring boot with gradle have non-project file, only syntax errors are reported. But that error doesn't happen when you work with maven.

Environment
  • Operating System: Windows
  • JDK version: 21
  • Visual Studio Code version: 1.87
  • Java extension version: 1.28.1
Steps To Reproduce
  1. download spring with spring initializr
  2. unzip the spring project
  3. wait until the server start
  4. get the message java:Error
  5. in the package com.example.demo2 get the error non-project file, only syntax errors are reported

package com.example.demo2; // error: Demo2Application.java is a non-project file, only syntax errors are reported

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Demo2Application {

public static void main(String[] args) {
	SpringApplication.run(Demo2Application.class, args);
}

}

LOGS

ipse.buildId=unknown
java.version=17.0.10
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_MX
Framework arguments: --stdio
Command-line arguments: -data c:\Users\Admin\AppData\Roaming\Code\User\workspaceStorage\882f4e6a045482b784a5c5bc39d27f4c\redhat.java\jdt_ws --stdio

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:49:50.153
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:49:58.467
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:49:59.428
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:49:59.493
!MESSAGE Initializing Java Language Server 1.33.0.202402151519

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:49:59.514
!MESSAGE Started org.eclipse.m2e.core 1ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:09.881
!MESSAGE ProjectRegistryRefreshJob finished 10364ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:10.699
!MESSAGE Started org.eclipse.buildship.core 813ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:23.624
!MESSAGE Setting C:\Program Files\Java\jdk1.8.0_261 as 'JavaSE-1.8' environment (id:1709531412244)

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:23.675
!MESSAGE Setting C:\Program Files\Java\jdk-21.0.1 as 'JavaSE-21' environment (id:1709531423639)

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:23.683
!MESSAGE Setting java.home C:\Program Files\Java\jdk-21.0.1 as default global VM

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:23.832
!MESSAGE Default VM Install changed from 1709531411827-C:\Users\Admin.vscode\extensions\redhat.java-1.28.1-win32-x64\jre\17.0.10-win32-x86_64 to 1709531423639-C:\Program Files\Java\jdk-21.0.1

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:23.992
!MESSAGE JVM Runtimes changed, saving new configuration

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.212
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.214
!MESSAGE Non-Static Commands: [java.project.import, java.project.changeImportedProjects, java.navigate.openTypeHierarchy, java.project.resolveStackTraceLocation, java.edit.handlePasteEvent, java.edit.stringFormatting, java.project.getSettings, java.project.resolveWorkspaceSymbol, java.project.upgradeGradle, java.project.createModuleInfo, java.vm.getAllInstalls, java.edit.organizeImports, java.project.refreshDiagnostics, java.project.removeFromSourcePath, java.project.listSourcePaths, java.project.getAll, java.reloadBundles, java.project.isTestFile, java.project.resolveText, java.project.getClasspaths, java.navigate.resolveTypeHierarchy, java.edit.smartSemicolonDetection, java.project.updateSourceAttachment, java.project.updateClassPaths, java.decompile, java.protobuf.generateSources, java.project.resolveSourceAttachment, java.project.updateJdk, java.project.addToSourcePath, java.completion.onDidSelect]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.217
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.241
!MESSAGE Non-Static Commands: [java.intellicode.enable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.245
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.250
!MESSAGE Non-Static Commands: [vscode.java.test.findJavaProjects, vscode.java.test.findTestPackagesAndTypes, vscode.java.test.findTestTypesAndMethods, vscode.java.test.resolvePath, vscode.java.test.findTestLocation, vscode.java.test.get.testpath, vscode.java.test.findDirectTestChildrenForClass, vscode.java.test.navigateToTestOrTarget, vscode.java.test.junit.argument, vscode.java.test.generateTests]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.253
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.262
!MESSAGE Non-Static Commands: [java.maven.initializeSearcher, java.maven.searchArtifact, java.maven.addDependency, java.maven.controlContext]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.267
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.269
!MESSAGE Non-Static Commands: [vscode.java.checkProjectSettings, vscode.java.isOnClasspath, vscode.java.fetchUsageData, vscode.java.validateLaunchConfig, vscode.java.resolveInlineVariables, vscode.java.resolveClassFilters, vscode.java.resolveMainMethod, vscode.java.resolveClasspath, vscode.java.resolveBuildFiles, vscode.java.resolveMainClass, vscode.java.updateDebugSettings, vscode.java.resolveSourceUri, vscode.java.fetchPlatformSettings, vscode.java.buildWorkspace, vscode.java.startDebugSession, vscode.java.inferLaunchCommandLength, vscode.java.resolveElementAtSelection, vscode.java.resolveJavaExecutable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.279
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.283
!MESSAGE Non-Static Commands: [java.project.refreshLib, java.project.checkImportStatus, java.project.list, java.project.generateJar, java.project.getMainClasses, java.getPackageData, java.resolvePath]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.432
!MESSAGE RepositoryRegistryUpdateJob finished 1ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.722
!MESSAGE Creating the Java project jdt.ls-java-project

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:24.761
!MESSAGE >> initialized

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:50:26.461
!MESSAGE Finished creating the Java project jdt.ls-java-project

!ENTRY org.eclipse.jdt.ls.core 4 0 2024-03-03 23:51:23.694
!MESSAGE Initialization failed
!STACK 0
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.5-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)
Caused by: 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.5-bin.zip'.
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:24.007
!MESSAGE >> initialization job finished

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:24.113
!MESSAGE >> registerWatchers'

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:24.148
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:38.712
!MESSAGE Reconciled 1. Took 100 ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:43.534
!MESSAGE begin problem for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:43.628
!MESSAGE 1 problems reported for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:45.984
!MESSAGE Validated 1. Took 6582 ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-03 23:51:53.911
!MESSAGE >> build jobs finished

!ENTRY java-debug 1 0 2024-03-04 00:02:27.058
!MESSAGE Starting com.microsoft.java.debug.plugin

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:15:50.291
!MESSAGE >> java/validateDocument

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:15:54.189
!MESSAGE begin problem for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:15:54.192
!MESSAGE 1 problems reported for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:15:54.210
!MESSAGE Validated 1. Took 1339 ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:16:36.070
!MESSAGE Clearing problems for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:17:29.055
!MESSAGE >> shutdown

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:17:29.090
!MESSAGE >> exit

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:17:29.390
!MESSAGE Shutdown received... waking up main thread

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 00:17:30.175
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is stopping:
!SESSION 2024-03-04 11:25:14.631 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.10
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_MX
Framework arguments: --stdio
Command-line arguments: -data c:\Users\Admin\AppData\Roaming\Code\User\workspaceStorage\882f4e6a045482b784a5c5bc39d27f4c\redhat.java\jdt_ws --stdio

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:27:52.889
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:09.917
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:11.988
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:12.018
!MESSAGE Initializing Java Language Server 1.33.0.202402151519

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:12.028
!MESSAGE Started org.eclipse.m2e.core 2ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:22.812
!MESSAGE ProjectRegistryRefreshJob finished 10781ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:24.388
!MESSAGE Started org.eclipse.buildship.core 1564ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.775
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.778
!MESSAGE Non-Static Commands: [java.project.import, java.project.changeImportedProjects, java.navigate.openTypeHierarchy, java.project.resolveStackTraceLocation, java.edit.handlePasteEvent, java.edit.stringFormatting, java.project.getSettings, java.project.resolveWorkspaceSymbol, java.project.upgradeGradle, java.project.createModuleInfo, java.vm.getAllInstalls, java.edit.organizeImports, java.project.refreshDiagnostics, java.project.removeFromSourcePath, java.project.listSourcePaths, java.project.getAll, java.reloadBundles, java.project.isTestFile, java.project.resolveText, java.project.getClasspaths, java.navigate.resolveTypeHierarchy, java.edit.smartSemicolonDetection, java.project.updateSourceAttachment, java.project.updateClassPaths, java.decompile, java.protobuf.generateSources, java.project.resolveSourceAttachment, java.project.updateJdk, java.project.addToSourcePath, java.completion.onDidSelect]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.786
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.789
!MESSAGE Non-Static Commands: [java.intellicode.enable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.803
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.876
!MESSAGE Non-Static Commands: [vscode.java.test.findJavaProjects, vscode.java.test.findTestPackagesAndTypes, vscode.java.test.findTestTypesAndMethods, vscode.java.test.resolvePath, vscode.java.test.findTestLocation, vscode.java.test.get.testpath, vscode.java.test.findDirectTestChildrenForClass, vscode.java.test.navigateToTestOrTarget, vscode.java.test.junit.argument, vscode.java.test.generateTests]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.888
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.895
!MESSAGE Non-Static Commands: [java.maven.initializeSearcher, java.maven.searchArtifact, java.maven.addDependency, java.maven.controlContext]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.907
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.925
!MESSAGE Non-Static Commands: [vscode.java.checkProjectSettings, vscode.java.isOnClasspath, vscode.java.fetchUsageData, vscode.java.validateLaunchConfig, vscode.java.resolveInlineVariables, vscode.java.resolveClassFilters, vscode.java.resolveMainMethod, vscode.java.resolveClasspath, vscode.java.resolveBuildFiles, vscode.java.resolveMainClass, vscode.java.updateDebugSettings, vscode.java.resolveSourceUri, vscode.java.fetchPlatformSettings, vscode.java.buildWorkspace, vscode.java.startDebugSession, vscode.java.inferLaunchCommandLength, vscode.java.resolveElementAtSelection, vscode.java.resolveJavaExecutable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.929
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:26.933
!MESSAGE Non-Static Commands: [java.project.refreshLib, java.project.checkImportStatus, java.project.list, java.project.generateJar, java.project.getMainClasses, java.getPackageData, java.resolvePath]

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:27.475
!MESSAGE RepositoryRegistryUpdateJob finished 1ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:28:27.842
!MESSAGE >> initialized

!ENTRY org.eclipse.jdt.ls.core 4 0 2024-03-04 11:31:18.423
!MESSAGE Initialization failed
!STACK 0
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.5-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)
Caused by: 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.5-bin.zip'.
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:19.174
!MESSAGE >> initialization job finished

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:19.239
!MESSAGE >> registerWatchers'

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:19.322
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:27.068
!MESSAGE Reconciled 1. Took 9 ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:29.640
!MESSAGE begin problem for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:29.808
!MESSAGE 1 problems reported for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:29.966
!MESSAGE Validated 1. Took 2284 ms

!ENTRY java-debug 1 0 2024-03-04 11:31:36.242
!MESSAGE Starting com.microsoft.java.debug.plugin

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 11:31:42.224
!MESSAGE >> build jobs finished

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 12:15:12.482
!MESSAGE Clearing problems for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 12:21:35.821
!MESSAGE Reconciled 1. Took 3 ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 12:21:35.826
!MESSAGE >> java/validateDocument

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 12:21:40.580
!MESSAGE begin problem for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 12:21:40.583
!MESSAGE 1 problems reported for /Demo2Application.java

!ENTRY org.eclipse.jdt.ls.core 1 0 2024-03-04 12:21:40.586
!MESSAGE Validated 1. Took 2062 ms

Current Result
Expected Result
Additional Informations

The error not ocurrs when you uses maven like a repository script

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci il problema con un progetto Spring Initializr Gradle su Windows e ispeziona il percorso di importazione del progetto intorno a com.microsoft.gradle.bs.importer.GradleBuildServerProjectImporter e all’errore di GradleSourceSets mostrato nei log. Il lavoro è completato quando il progetto Gradle viene inizializzato correttamente e Demo2Application.java viene trattato come un file del progetto invece di segnalare solo errori di sintassi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
developer-experience, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.