Hi Derek, JiBX can only use the JiBX_MungeAdapter for abstract <mapping>s - concrete <mapping>s need to modify the actual class file, since they add interfaces and binding lookup information to the class. There's no reason this couldn't be done by actually modifying the jar file - but I've never implemented that. So for now you need to have any classes with concrete <mapping>s unjarred.
- 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 Derek Guist wrote: > > I’m trying to create a binding for a class that is in a jar file. I’m > getting the following error: > > Error running binding compiler > > org.jibx.runtime.JiBXException: Cannot modify class <class name> > > Is it not possible to use classes that come in jars with jibx? I > thought that if jibx could not modify the class directly it would add > code to the JiBX_MungeAdapter class instead. Is that not the case? > > Thanks, > > Derek Guist > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
