mfussenegger / nvim-jdtls

Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
GNU General Public License v3.0
1.08k stars 62 forks source link

really odd issue with fetching dependencies, trust me #511

Closed abenz1267 closed 1 year ago

abenz1267 commented 1 year ago

LSP client configuration

I have a really weird issue going on lately:

JDTLS fails to build the workspace, see error posted below. The really odd thing here: i can revert the repo back to a certain commit > it works, no problem. I go 1 commit next: problem. The really odd thing: the commit from where on the issue appears is just a simple merge commit without any changes.

I can't pinpoint what exactly is wrong at all. I'm using the latest version of everything, neovim stable. The dependencies are present locally, i can build via mvn clean verify just fine. JDTLS fails to build the workspace though.

Do you have any clue what might be going on?

Eclipse.jdt.ls version

1.24

Steps to Reproduce

can't provide, company repository

Expected Result

building workspace

Actual Result

cant build workspace, getting an error fetching dependencies

!ENTRY org.eclipse.jdt.ls.core 4 0 2023-06-09 17:39:38.027
!MESSAGE Error occured while building workspace. Details: 
 message: com.askdante.taar:ad-commons:jar:4.0.20 failed to transfer from http://artifactory.office.intranet.bader-jene.de:8081/artifactory/legacy/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of buj legacy has elapsed or updates are forced. Original error: Could not transfer artifact com.askdante.taar:ad-commons:jar:4.0.20 from/to buj legacy (http://artifactory.office.intranet.bader-jene.de:8081/artifactory/legacy/): artifactory.office.intranet.bader-jene.de
abenz1267 commented 1 year ago

It seems like my local settings.xml is being ignored.

abenz1267 commented 1 year ago

I'm actually closing this here, since the issue happens with VSCode as well and i've opened an issue with JDTLS directly https://github.com/eclipse/eclipse.jdt.ls/issues/2696