This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassCast exception

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reports.model.To.FeedbackReportTo cannot be cast to Reports.persistance.hibernate.Report.FeedbackReportVO


I have also changed the jsp page which was using FeedbackReportVo class to FeedbackReportTo.
Whats the problem ?
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your post doesn't explain anything, pleas post the relation between two classes and in which code you're getting this exception ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic