File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes ClassCast exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ClassCast exception" Watch "ClassCast exception" New topic

ClassCast exception

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 641

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 ?

Author @
Moody blogger who do not like to behave like target setting machines work.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

Your post doesn't explain anything, pleas post the relation between two classes and in which code you're getting this exception ?

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: ClassCast exception
It's not a secret anymore!