java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List,求大神解答.at org.apache.jsp.pageCode.userManage.order_005fin_jsp._jspService(order_005fin_jsp.java:122)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 18:29:55
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List,求大神解答.at org.apache.jsp.pageCode.userManage.order_005fin_jsp._jspService(order_005fin_jsp.java:122)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List,求大神解答.
at org.apache.jsp.pageCode.userManage.order_005fin_jsp._jspService(order_005fin_jsp.java:122)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:159)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:277)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List,求大神解答.at org.apache.jsp.pageCode.userManage.order_005fin_jsp._jspService(order_005fin_jsp.java:122)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase
你在JSP上面的代码出错了,把String强制转换成了List.