ASM version miss matches. We need version 2.x or 3.x. Some old
libraries (like cglib which is used by hibernate) need 1.x.
Unfortunately, they don't coexist at all.
For cglib/hibernate, the fix is to remove the cglib jar and replace it
with the cglib-nodep jar:
http://repo1.maven.org/maven2/cglib/cglib-nodep/
That has a "special" version of asm 1.x that it pulled in and
repackaged into a different namespace so it doesn't conflict with 2.x/
3.x versions.
Dan
On May 17, 2008, at 5:21 PM, Piotr Skawinski wrote:
Hi,
I have upgraded cxf from version 2.0.5 to 2.1 and now face some
strange errors about missing classes. I use JPA inside webservices
and get following error when I statically try to instantiate
EntityManagerFactory:
2008-05-17 23:10:55 org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Application has thrown exception, unwinding now:
java.lang.NoSuchMethodError:
org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/
String;[Ljava/lang/String;Ljava/lang/String;)V
Any suggestion??
Thanks in advance.
Regards, Piotr
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get
it now!
http://www.live.com/getstarted.aspx
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog