Hi Rohan, The Xsd2Jibx tool is very outdated and no longer maintained. You'll need to download an old version of JiBX (try jibx-1.0RC1, since that's from the same timeframe as the last Xsd2Jibx release) to make this work.
I am actively working on a replacement, and hope to have it available next month. - 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 Rohan wrote: > Hi ppl, > I am getting the following exception whenever i am trying to > run the *xsd2jibx* jar. > > > log4j:WARN No appenders could be found for logger > (org.jibx.xsd2jibx.FileXsdResolver). > > log4j:WARN Please initialize the log4j system properly. > > _ > > org.jibx.xsd2jibx.GeneratorException > > _: unable to unmarshall > > Root cause: > > _org.jibx.runtime.JiBXException_: Unable to access binding information > for class org.jibx.xsd2jibx.XsdSchema > > Make sure the binding has been compiled > > at org.jibx.xsd2jibx.XsdSchema.unmarshall( > > _XsdSchema.java:380_) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall( > > _XsdSchema.java:254_) > > at org.jibx.xsd2jibx.Generator.execute( > > _Generator.java:170_) > > at org.jibx.xsd2jibx.Generate.generate( > > _Generate.java:131_) > > at org.jibx.xsd2jibx.Generate.main( > > _Generate.java:181_) > > Caused by: Unable to access binding information for class > org.jibx.xsd2jibx.XsdSchema > > Make sure the binding has been compiled > > _ > > java.lang.NoSuchFieldException > > _: JiBX_bindingList > > at java.lang.Class.getDeclaredField( > > _Class.java:1208_) > > at org.jibx.runtime.BindingDirectory.getBindingList( > > _BindingDirectory.java:70_) > > at org.jibx.runtime.BindingDirectory.getFactory( > > _BindingDirectory.java:189_) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall( > > _XsdSchema.java:376_) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall( > > _XsdSchema.java:254_) > > at org.jibx.xsd2jibx.Generator.execute( > > _Generator.java:170_) > > at org.jibx.xsd2jibx.Generate.generate( > > _Generate.java:131_) > > at org.jibx.xsd2jibx.Generate.main( > > _Generate.java:181_) > > Cause: Unable to access binding information for class > org.jibx.xsd2jibx.XsdSchema > > Make sure the binding has been compiled > > _ > > java.lang.NoSuchFieldException > > _: JiBX_bindingList > > at java.lang.Class.getDeclaredField( > > _Class.java:1208_) > > at org.jibx.runtime.BindingDirectory.getBindingList( > > _BindingDirectory.java:70_) > > at org.jibx.runtime.BindingDirectory.getFactory( > > _BindingDirectory.java:189_) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall( > > _XsdSchema.java:376_) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall( > > _XsdSchema.java:254_) > > at org.jibx.xsd2jibx.Generator.execute( > > _Generator.java:170_) > > at org.jibx.xsd2jibx.Generate.generate( > > _Generate.java:131_) > > at org.jibx.xsd2jibx.Generate.main( > > _Generate.java:181_) > Can anyone of u please help me resolve this exception > > Thanks, > Rohan > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users