how to use HotswapAgent in spring-boot

515 views
Skip to first unread message

唐念

unread,
Aug 18, 2017, 7:59:41 AM8/18/17
to HotswapAgent
Hi,there
     
      I want to set the hotswap in my spring-boot project, i try it through setting jvm param when start the jar package created by a spring project.
    

      such as     java -jar -XXaltjvm=dcevm -javaagent:E:\workspace\jar_libs\hotswap-agent spring-boot.jar

   but it did not work.  I get a error  for "missing `dcevm` JVM at `C:\Program\Files\java\jdk1.7.0_55\jre\bin\dcevm\jvm.dll`"

   so I check the jvm.dll int the path ,but it exists.

   I have no idea how to deal this and I really want whether the HotswapAgent  supports spring-boot?  anyone help

Jiří Bubník

unread,
Aug 20, 2017, 3:23:26 AM8/20/17
to 唐念, HotswapAgent

Hi,

 

spring boot should work. The problem is with basic dcevm setup and nothing to do with spring boot or hotswap agent. Please checkk the JVM and dcevm installation again.

 

Jiri

--
You received this message because you are subscribed to the Google Groups "HotswapAgent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hotswapagent...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages