我正面临一个问题,我可以使用一些帮助,请。我的环境:
Dcevm-11.0.9+1 (2020-11-24) Intellij 202.6397.94 Centos7 Spring-Boot 2.1.6.RELEASE
我遵循了这些指南: https ://github.com/HotswapProjects/HotswapAgent & https://github.com/TravaOpenJDK/trava-jdk-11-dcevm
重新编译我的课程后得到的结果是:
HOTSWAP 代理:19:49:11.740 警告(org.hotswap.agent.watch.nio.WatcherNIO2)- <PATH_TO_MY_CHANGED_CLASS> 上的观察者无效,删除路径 =
而且我的服务没有更新。另外,如果有帮助,我附上了启动时应用程序日志的一部分。
HOTSWAP AGENT: 19:44:12.986 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.spring.SpringPlugin' initialized in ClassLoader 'jdk.internal.loader.ClassLoaders$AppClassLoader@3b192d32'.
HOTSWAP AGENT: 19:44:12.987 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Spring plugin initialized - Spring core version '5.1.8.RELEASE'
2020-11-18 19:44:13.261 INFO 31796 --- [ main] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2020-11-18 19:44:13.262 INFO 31796 --- [ main] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
HOTSWAP AGENT: 19:44:13.336 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.hibernate.HibernatePlugin' initialized in ClassLoader 'jdk.internal.loader.ClassLoaders$AppClassLoader@3b192d32'.
HOTSWAP AGENT: 19:44:13.647 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Registering basePackage com.wow.hrmanagement.*
HOTSWAP AGENT: 19:44:13.885 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Registering basePackage com.wow.commons.*
HOTSWAP AGENT: 19:44:16.339 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.tomcat.TomcatPlugin' initialized in ClassLoader 'TomcatEmbeddedWebappClassLoader
context: ROOT
delegate: true
----------> Parent Classloader:
jdk.internal.loader.ClassLoaders$AppClassLoader@3b192d32
'.
HOTSWAP AGENT: 19:44:16.339 INFO (org.hotswap.agent.plugin.tomcat.TomcatPlugin) - Tomcat plugin initialized - Tomcat version '9.0.21.0'