CharScanner; panic: ClassNotFoundException: org.hibernate.hql.ast.HqlToken

CharScanner; panic: ClassNotFoundException: org.hibernate.hql.ast.HqlToken

View Answers

September 17, 2009 at 4:04 PM

Hi Friend,

Please clarify your problem.

Thanks

September 17, 2009 at 7:14 PM

Hi,
I am getting this error,when I was trying to fetch the data's from table.This is my code,
List qry = session.createQuery("from LoginBean").list();
Iterator it = qry.iterator();
while(it.hasNext()){
LoginBean log=(LoginBean)it.next();
System.out.print(log.getId());
System.out.print(" "+log.getName());
return "login";
}
I debug this code...when this line is executing(List qry = session.createQuery("from LoginBean").list();), after that getting this error.

Thanks,









Related Tutorials/Questions & Answers:

Ads