Title: Gradle project infinitely rebuilds after launching a project · Issue #4307 · redhat-developer/vscode-java · GitHub
Open Graph Title: Gradle project infinitely rebuilds after launching a project · Issue #4307 · redhat-developer/vscode-java
X Title: Gradle project infinitely rebuilds after launching a project · Issue #4307 · redhat-developer/vscode-java
Description: jls_before_run.log jls_after_run.log I have a multi-project Gradle project. It is not using any Eclipse settings (meaning no .project, .classpath, etc. files). The projects uses annotation processors to generate source files (they are ge...
Open Graph Description: jls_before_run.log jls_after_run.log I have a multi-project Gradle project. It is not using any Eclipse settings (meaning no .project, .classpath, etc. files). The projects uses annotation processo...
X Description: jls_before_run.log jls_after_run.log I have a multi-project Gradle project. It is not using any Eclipse settings (meaning no .project, .classpath, etc. files). The projects uses annotation processo...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/4307
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Gradle project infinitely rebuilds after launching a project","articleBody":"[jls_before_run.log](https://github.com/user-attachments/files/24599283/jls_before_run.log)\n[jls_after_run.log](https://github.com/user-attachments/files/24599284/jls_after_run.log)\n\nI have a multi-project Gradle project. It is not using any Eclipse settings (meaning no .project, .classpath, etc. files). The projects uses annotation processors to generate source files (they are generated under build/generated/sources/annotationProcessor/java/main by Gradle). \n\nWhen the workspace is initially loaded, it works fine. The problems start after you launch a Java main class. It appears that the language server is constantly detecting changes in source files and somehow falls into an infinite loop where it continuously builds itself. It gets so bad that the workspace starts reporting compiler errors, even though there are none.\n\nI'm not sure which factors are causing this issue to happen, so I can't provide a project that reproduces the issue. It might be a combination of Gradle with sub-projects, annotation processors, and the sheer size of the codebase. I tried changing some settings that I thought might be related to this issue with no success. I tried the current and pre-release Java Language Pack versions and the behavior is the same.\n\nAttached are the language server logs. jls_before_run.log are the logs before I launched a main class. jls_after_run.log are the logs after I launched a main class. jls_after_run.log would have run into infinity, so I had to eventually manually stop it, so I hope there's enough information to get a clue on what's happening.","author":{"url":"https://github.com/ChrisTrenkamp","@type":"Person","name":"ChrisTrenkamp"},"datePublished":"2026-01-13T20:19:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/4307/vscode-java/issues/4307"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:608ebd12-b885-c6a5-c6ae-ba566191a751 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4D8:14F53A:2E8D0C:3B99F2:6990B133 |
| html-safe-nonce | e9b76a08f488dd0f5ea1cb887a6df0d3c2270d24cba751b71acd365b35abc87b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEQ4OjE0RjUzQToyRThEMEM6M0I5OUYyOjY5OTBCMTMzIiwidmlzaXRvcl9pZCI6Ijg5MDEyMDg1ODYxNTczMzg5MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f7ce9e0a511f3fe15c142559d97bc3af3b8cf71def32941d02d79996024ad34 |
| hovercard-subject-tag | issue:3810450402 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/redhat-developer/vscode-java/4307/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d591d048a27cf6c1ed104c065b9d480734143e9d00770773c07771a7c55fcd8/redhat-developer/vscode-java/issues/4307 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d591d048a27cf6c1ed104c065b9d480734143e9d00770773c07771a7c55fcd8/redhat-developer/vscode-java/issues/4307 |
| og:image:alt | jls_before_run.log jls_after_run.log I have a multi-project Gradle project. It is not using any Eclipse settings (meaning no .project, .classpath, etc. files). The projects uses annotation processo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ChrisTrenkamp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width