I get the following error dialog trying to use LSP-jdtls:
I found the error was caused trying to download lombok.jar. When I manually fetched the jar and added it to the download directory:
cd .cache/sublime-text/Package Storage/LSP-jdtls/server
wget https://projectlombok.org/downloads/lombok.jar
then jdtls started without a problem. I can download the jar in my browser or terminal no problem, but python requestlib is blocked:
$ python
Python 3.10.5 (main, Jun 8 2022, 00:22:47) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from urllib.request import urlopen
>>> urlopen("https://projectlombok.org/downloads/lombok.jar")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Hello,
I get the following error dialog trying to use LSP-jdtls:
I found the error was caused trying to download lombok.jar. When I manually fetched the jar and added it to the download directory:
then jdtls started without a problem. I can download the jar in my browser or terminal no problem, but python requestlib is blocked: