I found the following issue here.

http://www.mail-archive.com/jibx-users@lists.sourceforge.net/msg03059.html

I'm a new user of Jibx and so far I like it very much.  It lets me do 
what I want to do and which XML-oriented systems do not.  All I want is 
a relatively lightweight way to use Web Services over https to transfer 
data around a non-colocated back end that is not easily secured.  Your 
system lets me think object-orientedly and use java.  I have no use for 
multiplatform reading of this data.

However, I need to get around this problem, which apparently still 
exists in the distribution.  What is the workaround?  If I build the 
tools from source will that do the trick?  Or what?

Also, I would like a little more information on using JiBx with JDK >= 
5.0 and generics.  Do you have such documentation available?  What is 
the right way to expose typed collections with JiBx?

Steve Cohen


> Hi Dan,
>
> Sorry, this is due to my changes since the last drop of the schema 
> generator code. You'd probably need to go back to the 1.1.4 JiBX code 
> for this to work.
>
> There are updated binding and schema generators as part of the Jibx2Wsdl 
> code, and I'll try to get the documentation for those completed within 
> the next week. Once that's done I'll replace the current JibxTools with 
> the new version.
>
>   - Dennis
>
> Dennis M. Sosnoski
> SOA and Web Services in Java
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
>
>
> Dan Benjamin wrote:
> > Using what appear to be the latest jibx and jibx-tools packages, I  
> > attempt to run the Schema Generator on my binding document.  It  
> > attempts to initialize an object of type ClassWrapper using a  
> > constructor that takes a single argument of type ClassFile, but this  
> > constructor does not appear to exist.
> >
> > Running schema generator version 0.2
> > Using paths:
> > build/classes/
> > WEB-INF/lib/jibx-lib/jibx-genschema.jar
> > WEB-INF/lib/jibx-lib/jibx-bind.jar
> > WEB-INF/lib/jibx-lib/bcel.jar
> > WEB-INF/lib/jibx-lib/jibx-run.jar
> > WEB-INF/lib/jibx-lib/xpp3.jar
> > WEB-INF/lib/jibx-lib/stax-api.jar
> > WEB-INF/lib/jibx-lib/wstx-asl.jar
> > WEB-INF/lib/jibx-lib/jibx-extras.jar
> > .
> > Using input bindings:
> > serverModules/ems/ems-binding.xml
> > Exception in thread "main" java.lang.NoSuchMethodError:  
> > org.jibx.binding.model.ClassWrapper.<init>(Lorg/jibx/binding/classes/ 
> > ClassFile;)V
> >          at org.jibx.binding.SchemaGenerator$1.getClassInfo 
> > (SchemaGenerator.java:179)
> >          at org.jibx.binding.model.TreeContext.getClassInfo 
> > (TreeContext.java:522)
> >          at org.jibx.binding.model.FormatElement.prevalidate 
> > (FormatElement.java:321)
> >          at org.jibx.binding.model.BindingElement.defineBaseFormat 
> > (BindingElement.java:669)
> >          at org.jibx.binding.model.BindingElement.runValidation 
> > (BindingElement.java:689)
> >          at org.jibx.binding.SchemaGenerator.generate 
> > (SchemaGenerator.java:783)
> >          at org.jibx.binding.SchemaGenerator.main 
> > (SchemaGenerator.java:891)
> >
> >
> > Forgive me if this has already been addressed; I did a search in the  
> > archives and didn't find anything.
> >
> > Thanks,
> >
> > Dan
> >


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to