commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, James H [IT]" <james.h.ander...@citigroup.com>
Subject RE: BeanUtils problem
Date Mon, 17 May 2004 14:12:15 GMT
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:mmistroni@waersystems.com]
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:james.h.anderson@citigroup.com] 
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message