XBEAN-238 also handle NoClassDefFound

txs to rmannibucau for the patch. Applied with minor changes


git-svn-id: https://svn.apache.org/repos/asf/geronimo/xbean/trunk@1452482 13f79535-47bb-0310-9956-ffa450edef68