On May 9, 2008, at 6:52 PM, Daniel Lipofsky wrote:
Thanks. I actually ended up getting one straight from the
cglib sourceforge project at
http://sourceforge.net/project/showfiles.php?group_id=56933
http://downloads.sourceforge.net/cglib/cglib-nodep-2.1_3.jar?modtime=112
9193134
and it seems to work.
I'm still not clear what the other solutions mentioned
in the migration guide might be. Does anyone undertstand those?
My problem is solved well enough for now but I am wondering
if I am missing something.
- Dan
If you use wsdl2java, then all the classes that are required are fully
generated as the wrapper types (if wrapped doc/lit) are in the
schema. Thus, you could have removed the asm jar.
The main time there are issues are in the java first cases where the
wrapper types are not there by default. In anycase, you got the
correct nodep jar which is the "best" fix.
Dan
On Thu, May 08, 2008, Martijn Brinkers wrote:
I used cglib-nodeps that comes with Spring 2.5 distribution. So you
could try that one?
Martijn
On Wed, 2008-05-07 at 17:48 -0700, Daniel Lipofsky wrote:
I am trying to upgrade from CXF 2.0.5 to 2.1 (with JDK
1.5 and JBoss 4.2), and I am using hibernate so I am
encountering the conflict with the asm JARs. I already read
http://cwiki.apache.org/confluence/display/CXF/2.1+Migration+Guide
but it is not helping me much.
I redownloaded hibernate 3.2.6GA but I do not see a
cglib-nodeps jar I could use.
I am using wsdl2java. It does not take the -wrapperbean
flag. I am not sure exactly what these wrapper classes
that the migration guide refers too. I don't install all
the classes that wsdl2java generates - in particular most
of my methods don't have the parameters wrapped, so even
though wsdl2java generates classes for each xsd:element
in my WSDL I don't use or install them. My WS method calls
are just look like "boolean foobar(String, int)"
So what do I need to do?
Error on JBoss startup looks like
java.lang.NoSuchMethodError:
org.objectweb.asm.ClassWriter.visit(IILjava/lang/String;Ljava/
lang/Strin
g;Ljava/lang/String;[Ljava/lang/String;)V
Thanks,
Dan
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog