You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a new library to my java project (org.lz4:lz4-java:1.8.0) but there is no way to get them indexed again.
I tried gradlew build and gradle --refresh-dependencies but it din't work.
Environment
Operating System: Windows 10 Enterprise LTSC 21H2
Visual Studio Code version: 1.85.2
Language Support for Java(TM) by Red Hat Version: 1.37.0
JDK: Amazon Corretto jdk1.8.0_432
Gradle Version: 4.7
Steps To Reproduce
Update/add dependencies to build.gradle file
Wait for it to update (nothing will happen)
Captures
The text was updated successfully, but these errors were encountered:
zSynx94
changed the title
There is no way to refresh the classpath after adding a library to gredle
There is no way to refresh the classpath after adding a library to gradle
Dec 13, 2024
i am having the same problem.
Neither the Task "Java: Reload Projects" nor the popup, that appears when changing the build.gradle, which wants to synchronize the classpath works for me.
Only "Java: Clean Java Language Server Workspace", which gets anoying in larger projects.
error in App.java is still present and cant be fixed by reload
What i found out while creating the example project: This problem is only present with "java.gradle.buildServer.enabled": "off"
When using the gradle buildserver, both the popup and "Java: Reload Projects" correctly update the classpath.
@zSynx94 are you also using "java.gradle.buildServer.enabled": "off"?
I added a new library to my java project (org.lz4:lz4-java:1.8.0) but there is no way to get them indexed again.
I tried gradlew build and gradle --refresh-dependencies but it din't work.
Environment
Operating System: Windows 10 Enterprise LTSC 21H2
Visual Studio Code version: 1.85.2
Language Support for Java(TM) by Red Hat Version: 1.37.0
JDK: Amazon Corretto jdk1.8.0_432
Gradle Version: 4.7
Steps To Reproduce
Update/add dependencies to build.gradle file
Wait for it to update (nothing will happen)
Captures
The text was updated successfully, but these errors were encountered: