Skip to Content
0
Former Member
Mar 14, 2017 at 10:23 PM

HotSwap agent. Linkage errors

303 Views

Hi everyone. I use HotSwap agent for redeploying classes. But from time to time the next exceptions occure during starting hybris instance:

 ERROR [Task-master-poll] [HybrisApplicationEventMulticaster] org.hotswap.agent.javassist.CannotCompileException: by java.lang.LinkageError: loader (instance of  de/hybris/bootstrap/loader/PlatformInPlaceClassLoader): attempted  duplicate class definition for name: "HotswapSpringCallback_1796692748"

For solving problem I need to do ant clean all before launching. Has anyone met this problem?