Closed kodermax closed 7 years ago
Hi, I had to put the hotswap-agent.properties file inside the JAR projects src/main/resources directory for the class reloading to work. Might help.
I have there this file.
autoHotswap=true
#autoHotswap.port=8000
extraClasspath=${project.build.outputDirectory}
#extraClasspath=/real/path/to/project/output/dir/classes
disabledPlugins=Hibernate,Spring
extraWebappContext=${project.build.outputDirectory}/META-INF/resources
webappDir=${project.build.outputDirectory}/META-INF/resources
watchResources=${project.basedir}/src/main/resources
LOGGER.org.hotswap.agent=INFO
Sorry, It turns out it was necessary to use
platform-hotswap-agent.properties
share-hotswap-agent.properties
And there to register all modules
Now it's work.
I'm submitting a ... (check one with "x")
I have bean
Expected Behavior
When I change class local.pharm.platform.PolicyLogger, then I run command mvn compile.
Current Behavior
HotSwap doesn't work
Your Environment
Additional information