" I'm using IBM Rational Application Developer (RAD)V6. Its got an embedded Web
" Sphere but am uncertain of its version.
" I've mapped a number of Domain Classes. The mapping is only one way , from XML
" to Domain Classes.
" All JUnit test cases run fine. The test cases just convert from XML to one or
" more Domain Classes using XSLT to transform to the JiBX input XML.
" However if I attempt to create a mapped Domain Class whilst running in the Web
" Application, ( e.g. Domain domain = new Domain())then Web Sphere complains 
with
" a ClassDefNotFound exception citing that the JiBX Unmarshaller cannot be 
found.
" And indeed the classpath shown in the stacktrace does not include the
" jibx-runtime.jar. But still we're not doing any JiBX work here just a Domain
" Class create. Creating non mapped Domain classes presents no problems.

If I understand this correctly, you have created a JiBX mapping for your
domain class and even though you are not using JiBX, it is looking for
JiBX classes when you used that class. I think this is because of the byte
code that JiBX inserts into your class. Even though you aren't using JiBX, the
classloader does need to resolve the references within the class, and
the inserted code does refer to various JiBX classes.
  Mark


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to