I am having a problem here with my CompanyRegistrationForm and CompanyRegistrationAction. It says Exception creating bean of class web.struts.form.CompanyRegistrationForm
amazing fact is that, I have successfully made 2 other forms (userLogin and userRegistration) with their actions and they are working fine but i don't what is wrong with my 3rd form(CompanyRegistrationForm) i have checked all the settings in struts-config.xml and in the companyRegistration.jsp and i didn't find anything wrong there. also thre are no Typo mistakes in any of these files.
Please suggest something if any of you have experienced similar issue before.
code samples are attached below;
companyRegistration.jspI am taking inputs for two DB tables in one jsp, and so this is defined in my CompanyRegistration.hbm.xml