on 03-14-2017 10:23 PM
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?
Hi , yes, now I know why it occurs, the version of DCVEM and of JAVA must be equals. If you are going to use DCEVM for JAVA 8, in this case your java must have the next version: java8 update 112 build 9
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am also facing the same problem while using the HOTSWAP agent.
Caused by: 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" at org.hotswap.agent.javassist.ClassPool.toClass(ClassPool.java:1170) ~[hotswap-agent-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] at org.hotswap.agent.javassist.CtClass.toClass(CtClass.java:1316) ~[hotswap-agent-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] at org.hotswap.agent.plugin.spring.getbean.EnhancerProxyCreater.buildProxyCallbackClass(EnhancerProxyCreater.java:231) ~[ytomcat.jar:1.1.0-SNAPSHOT] at org.hotswap.agent.plugin.spring.getbean.EnhancerProxyCreater.getProxyCreationMethod(EnhancerProxyCreater.java:101) ~[ytomcat.jar:1.1.0-SNAPSHOT] at org.hotswap.agent.plugin.spring.getbean.EnhancerProxyCreater.create(EnhancerProxyCreater.java:83) ~[ytomcat.jar:1.1.0-SNAPSHOT]
Could some one please help us.
I am using 6.4.0.1
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.