When I added "-Drebel.remoting_plugin=true" to run my Spring Boot jar file, I got this error:
java.lang.IllegalStateException: java.lang.IllegalStateException: Unable to determine code source archive from file.
Asked
Active
Viewed 568 times
0

Arthur Wu
- 141
- 1
- 4
-
This seems to be a bug introduced since JRebel 7.0.13. Will let you know once it's fixed. – Murka Dec 29 '17 at 14:49
-
If possible, update spring-boot to 1.4 or later, this error only happens on prior versions. – Murka Dec 29 '17 at 17:49
-
Yes, this bug has been fixed in Jrebel 7.1.5 – Arthur Wu Jan 19 '18 at 01:31
1 Answers
1
This is a bug in JRebel versions 7.0.13-7.1.4 which caused the ProtectionDomain CodeSource location URL to be incorrect for reloadable classes that are originally loaded from a JAR.
This affects spring-boot versions <= 1.3.8 as the bootstrap classes and application classes were not separated in the fat jar(1.4.0 introduced BOOT-INF/classes
), so a spring-boot internal class was reloadable and received the incorrect URL.
Until 7.1.5 is released you can download the nightly build here: https://zeroturnaround.com/software/jrebel/download/nightly-build/

Murka
- 353
- 4
- 10