aspose file tools*
The moose likes Object Relational Mapping and the fly likes Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Exception" Watch "Exception" New topic


V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
Hibernate: select areapatchm0_.PATCHNAME as x0_0_ from SATERI.AREAPATCH_MASTER areapatchm0_
java.lang.ClassCastException: java.lang.String
at org.apache.struts.action.RequestProcessor.processActionPerform(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

What is the class: ? And what is it doing at line 51?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
business logic is written in that class.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Send the code snippet. At least line 51.
I agree. Here's the link:
subject: Exception
Similar Threads
connection, pool exhausted ???
preparedstatement throws sqlexception
Struts error cannot find bean
Facing problem with Filter and RequestDispatcher
Not able to access the Action class in struts when I am making an AJAX call