Closed cloudhuang closed 6 years ago
Hi @cloudhuang,
The hotswap agent configuration in IDEA is for current project only. If you change the "Agent installation" path in one IDEA's project and open another instance of IDEA with different project then plugin will try to download it and put the jar file to the default folder unless you specify another location for it.
@cloudhuang Is it something what you did?
Hi. I'm not sure I understand the above statement (sorry). I'm just trying a vanilla install and I get:
java.io.IOException: Cannot download 'https://github.com/HotswapProjects/HotswapAgent/releases/download/1.2.1-SNAPSHOT/hotswap-agent-1.2.0.jar': Status: 404
Uninstalled and reinstalled and the issue persists. curl
ing that location also fails.
I'm getting that error too:
java.io.IOException: Cannot download 'https://github.com/HotswapProjects/HotswapAgent/releases/download/1.2.0/hotswap-agent-1.2.0.jar': Status: 404
IntelliJ IDEA 2018.1.1 EAP (Ultimate Edition) Build #IU-181.4445.4, built on March 29, 2018 JRE: 1.8.0_152-release-1136-b27 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.15.0-13-generic
@PKeidel Which version of hotswapagent plugin do you use? You can see it in general settings, plugins section.
The HotSwapAgent Version is 1.2
@PKeidel Should be 1.2.2
OK. Can i update it manually? Under releases here I can only find 1.2.1
@PKeidel 1.2.2 version should be in plugins repository. Try to check for updates "Check for updates" menu in Intellij IDEA.
With that button it found the new version. Thank you.
Install the "hotswap-agent-1.0.jar" manually from the folder, but after save the configuration, seems the plugin will still try to download the "hotswap-agent-1.0.jar" from the website.
BTW, I'm using the latest IDEA version.