[struts][exception]javax.servlet.ServletException: BeanUtils.populate

100 views
Skip to first unread message

jeb001

unread,
Jul 19, 2006, 7:55:13 AM7/19/06
to Java Web Application
Hi,


I'm using Struts framework to developp a big form.
I have that exception when I submit :

javax.servlet.ServletException: BeanUtils.populate

RootCause

java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method

I guess it's because I'm using wrong type for one of my bean
attributes.. but I just can't find which one !!

any idea to find out which attribute isn't the good type ?

prateek jain

unread,
Jul 19, 2006, 9:11:24 AM7/19/06
to javaw...@googlegroups.com
I think there is some mismatch of type in struts-config.xml and ur bean.......

On 7/19/06, jeb001 <jeremy...@gmail.com > wrote:

Hi,


I'm using Struts framework to developp a big form.
I have that exception when I submit :

javax.servlet.ServletException: BeanUtils.populate

RootCause

java.lang.IllegalArgumentException: argument type mismatch
        at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method
Reply all
Reply to author
Forward
0 new messages