Skip to content

Project refuses to load/build due to a "Resource exists on disk" error #4218

@glektarssza

Description

@glektarssza

Good morning! I have run into an issue with the latest version(s) of this extension where none of the projects I work with seem to function due to a "resource exists on disk" error.

Image

The failing project can be found here: https://github.com/glektarssza/minecraft-high-res-screenshots

To replicate the issue:

  1. Install the extensions outlined in the Enabled Extensions Information section below.
  2. Copy the appropriate template VSCode settings from ./templates/vscode/ from inside the repository above into your ./.vscode/settings.json file inside the repository above.
  3. Replace the Java paths inside the copied templates to a version of Java 21.
  4. Ensure your JAVA_HOME environment variable is set to a version of Java 17.
  5. Run ./gradlew setupDecompWorkspace inside the repository above.
  6. Run ./gradlew build inside the repository above.
  7. Run ./gradlew eclipse inside the repository above.
  8. Observe the issue.

System Information

glek@glektarssza-arch-laptop ~
± % hostnamectl
 Operating System: Arch Linux
           Kernel: Linux 6.17.5-arch1-1
     Architecture: x86-64
  Hardware Vendor: Lenovo
   Hardware Model: IdeaPad Gaming 3 15ACH6
     Hardware SKU: LENOVO_MT_82K2_BU_idea_FM_IdeaPad Gaming 3 15ACH6
 Firmware Version: H3CN47WW(V3.05)
    Firmware Date: Mon 2024-04-15
     Firmware Age: 1y 6month 1w 5d

VSCode Information

Version: 1.106.0-insider
Commit: facd8c599d37687ac5a9864bbea93d39d67ed963
Date: 2025-10-27T09:47:48.225Z
Electron: 37.7.0
ElectronBuildId: 12597478
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.17.5-arch1-1

Enabled Extensions Information

Name: Language Support for Java(TM) by Red Hat
Id: redhat.java
Description: Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...
Version: 1.47.2025102508
Publisher: Red Hat
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=redhat.java

Name: Debugger for Java
Id: vscjava.vscode-java-debug
Description: A lightweight Java debugger for Visual Studio Code
Version: 0.58.2025090407
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug

Name: Gradle for Java
Id: vscjava.vscode-gradle
Description: Manage Gradle Projects, run Gradle tasks and provide better Gradle file authoring experience in VS Code
Version: 3.17.2025090802
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle

Name: Project Manager for Java
Id: vscjava.vscode-java-dependency
Description: Manage Java projects in Visual Studio Code
Version: 0.26.2025102709
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions