Thanks Marco! Turns out I need commons-collections which I hadn't installed. (I'm using WSAD with which I'm not exactly familiar yet ;-)
jim -----Original Message----- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 9:49 AM To: 'Jakarta Commons Users List' Subject: RE: BeanUtils problem Hi, Something wrong in ur classpath... Regards marco -----Original Message----- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: 17 May 2004 14:34 To: Jakarta Commons Users List Subject: BeanUtils problem I'm manually creating a HashMap and then calling BeanUtils.populate(bean, map) to copy the map values to the target bean, but it's failing with a NoClassDefFoundError. Any idea what I might be doing wrong? (Although not all variables are String, the type of each map value matches the type of the like-named bean variable.) jim [create HashMap manually...] AddSelectDetailBean bean = new AddSelectDetailBean(); try { BeanUtils.populate(bean, row); list.add(bean); } catch (Exception e) { System.out.println(e.getMessage()); e.printStackTrace(); list = null; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]