• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:useBean ... nested Exception  RSS feed

 
kvk kishore
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
eblogic.utils.NestedRuntimeException: cannot instantiate 'com.citicorp.gcs.servlets.UserBean' - with nested exception: [java.lang.ClassCastException:
com.citicorp.gcs.servlets.UserBean]
java.lang.ClassCastException: com.citicorp.gcs.servlets.UserBean at
jsp_servlet._gcsintranet._site._contacts._editcntdet._jspService(_editcntdet.java:94) at weblogic.servlet.jsp.JspBase.service(JspBase.java, Compiled
Code) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code) at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code) at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code) at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code) at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code) at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code) --------------- nested within: ------------------ weblogic.utils.NestedRuntimeException: cannot instantiate
'com.citicorp.gcs.servlets.UserBean' - with nested exception: [java.lang.ClassCastException: com.citicorp.gcs.servlets.UserBean] at
jsp_servlet._gcsintranet._site._contacts._editcntdet._jspService(_editcntdet.java:96) at weblogic.servlet.jsp.JspBase.service(JspBase.java, Compiled
Code) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code) at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code) at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code) at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code) at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code) at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)

I get this error when I use a bean in a jsp page .
can anyone provide the solution
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!