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: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to