This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Without the code (and possibly config) it's impossible to help: if you search the web for that specific exception you'll probably find out what you're doing wrong.
Joined: Jun 28, 2007
thank you very much Newton. The issue is resolved now! I was using model.addAttribute(position) instead of model.addAttribute("position", position). Because my model object is position but model class is MyPosition.
I guess, i need to write a toString() method in User class to display the contents properly.