I set up Hotswap Agent to work with wildfly. I am able to connect to the instance with wildfly, and recompile classfiles.
However one of my projects contains JSP files and serves them through REST endpoints, and when I compile those classes, I get the following error:
Could not reload rest class Hotswap agent
org.jboss.resteasy.spi.LoggableFailure: RESTEASY003880: Unable to find contextual data of type: javax.servlet.ServletContext
Hi, when I re-compile some java source files, hotswap agent outputs log as "reloading classes..."，but no hotswap results, such as success or failure. So I can't be sure if it works unless I trigger a network request to verify. Sometimes even though there is no error log, the change still does not take effect.
Is there any easy way to tell me clearly if the hotswap was successful? thanks!