开发者

Hibernate and Jboss 6.0

开发者 https://www.devze.com 2023-01-08 17:50 出处:网络
I\'m having problems when I\'m trying to deploy on JBoss 6.0 a roo spring application. The exception I\'m getting is:

I'm having problems when I'm trying to deploy on JBoss 6.0 a roo spring application. The exception I'm getting is: "Deployment "here goes my war file/" is in error due to the following reason(s): java.lang.VerifyError: (class: org/hibernate/bytecode/cglib/CglibClassTransformer, method: doTransform signature: (Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/security/ProtectionDomain;[B)[B) Incompatible object argument for function call"

Please if anybody can help me. I'm new into JBoss and can't find the answer for it. Probably it is开发者_StackOverflow社区 wrong version of classes but which?

Many thanks for any help! Agata


I believe there's a clash between the versions of CGLIB used by Hibernate and Spring. This problem is what OSGi was born to solve. Each one could have their own if you could use higher-order packaging.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号