Plz have a look at

http://java.pastebin.ca/1458043

particularly, to access method of Gender in My controller ie method

model.addAttribute("genderlist", person.getGender() );

I declare

private Person person;
@Autowired
public ReportController(Person person) {
this.person = person;
}


I get Person bean related error!
What could be possible causes and ways to solve it?
Edit/Delete Message