Martijn, Please log a bug for this. (and a testcase would be great)
You MIGHT be able to workaround this by adding the XmlJavaTypeAdapter annotation for your set to the SEI method that returns the Set. Not really sure though. Dan On Tuesday 29 April 2008, Martijn Brinkers wrote: > Thanks, > > That fixed it. I do however have another problem related to ASM. > > One of the webservice methods returns a Set. This worked with previous > CXF release but not with the current release because I get the > following ClassCastException: > > java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast > to java.util.List > > If I remove the asm jar from the classpath everything is working > again. When I change the Set to a List it works with asm added to the > cp. > > Any idea? is a Set not supported as a return type? > > Thanks, > > Martijn Brinkers > > On Tue, 2008-04-29 at 10:11 -0400, Daniel Kulp wrote: > > The fix for this USUALLY is to configure hibernate to use the > > cglib-nodeps jar and remove it's version of asm. The cglib-nodeps > > jar contains a "custom" version of asm 1.x that it needs, but in > > it's own namespace so it won't conflict with the newer version > > needed by CXF and other asm using tools. > > > > Dan -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
