Hello Everyone, I am new to JiXB and when trying to compile a
binding.xml. I get an error stating :- java.lang.NoClassDefFoundError: JiBX_MungeAdapter at
com.bsil.project.airtrade.jixb.test.Customer.JiBX_binding_unmarshal_1_0(Customer.java) at
com.bsil.project.airtrade.jixb.test.JiBX_bindingCustomer_access.unmarshal() at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(Unknown
Source) at
com.bsil.project.airtrade.jixb.test.BindingSelector.unmarshalVersioned(BindingSelector.java:183) at
com.bsil.project.airtrade.jixb.test.TestJixb.usage(TestJixb.java:38) at com.bsil.project.airtrade.jixb.test.TestJixb.main(TestJixb.java:48) Find attached the binding.xml along with this mail and please
do let me know what might be the reason for this error. Thanks to you all. Kind Regards Pradeepta |
<binding> <mapping package="com.bsil.project.airtrade.jixb.test" name="customer" class="com.bsil.project.airtrade.jixb.test.Customer"> <collection field="person" item-type="com.bsil.project.airtrade.jixb.test.Person"/> <value name="street" field="street"/> <value name="city" field="city"/> <value name="state" field="state"/> <value name="zip" field="zip"/> <value name="phone" field="phone"/> </mapping> <mapping name="person" class="com.bsil.project.airtrade.jixb.test.Person"> <structure name="person" item-type="com.bsil.project.airtrade.jixb.test.Person"> <value name="cust-num" field="customerNumber"/> <value name="first-name" field="firstName"/> <value name="last-name" field="lastName"/> </structure> </mapping> </binding>
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users