permaculture playing cards*
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
Author

ClassCast exception

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

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 ?


http://www.androcid.com/
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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]
 
Consider Paul's rocket mass heater.
 
subject: ClassCast exception
 
Similar Threads
NX: Reading from the DB
TOMCAT Environmental Variables
Weird error
design the Java swing with dynamic creation of JTextfield,JLabel,Jcombobox
SCJP 1.5 review - not a so good test?