A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Dec 04, 2006
Dec 18, 2006 22:33:00
what may be the possible reason for error FORM BEAN CANNOT BE CREATED?
Joined: Feb 15, 2005
Dec 19, 2006 02:45:00
Here are some possible reasons:
1- A simple spelling error. Are you 100% sure that the type you specified in the <form-bean> tag exists and is spelled correctly including the package name?
2-Failure to compile the class. Maybe the .java file exists, but does the .class file? Is it in WEB-INF/classes?
3-No public constructor. Have you overriden or made non-public the default no-arguments constructor for the bean?
I agree. Here's the link:
subject: Struts project
Exception creating bean of class
Exception creating bean of class.
Ways of getting [Servlet Error]- [BeanUtils.populate] exception
Problem with indexed property
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014