eruizc-dev / jdtls-launcher

The simplest way to install and launch JDTLS
MIT License
77 stars 6 forks source link

ERROR: 301 moved permanently #11

Closed eruizc-dev closed 3 years ago

eruizc-dev commented 3 years ago

301: moved permanently

Calling jdtls --update produces the following output:

Creating jdtls backup...
Backup created
Uninstalling jdtls...
JDTLS uninstalled
Installing jdtls...
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
 is going to be installed
/usr/local/bin/jdtls: line 84: <html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
: No such file or directory
tar: Error opening archive: Failed to open '<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
'/html>
rm: <html>\r
<head><title>301 Moved Permanently</title></head>\r
<body>\r
<center><h1>301 Moved Permanently</h1></center>\r
<hr><center>nginx</center>\r
</body>\r
</html>\r: No such file or directory
chmod: /usr/local/lib/jdtls-launcher/jdtls/config_*: No such file or directory
JDTLS installation failure
Restoring jdtls backup...
Backup restored

Good thing the backup system is working as intended

eruizc-dev commented 3 years ago

It seems that #10 was only temporal.

The fix should be ready by Wednesday morning

eruizc-dev commented 3 years ago

Ironic, I had an old version... Forgot to update it on one of my computers! #10 fixes the issue, make sure you have JDTLS-LAUNCHER v1.1.4 or higher