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/03 06:51:51
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
xO@O{ ِ݅"a9}[(3tYd\4jh/Ơ7 md[ʚ襙m-l&F.&uTq,r&JslUrs&9Iē:BN=~<pqzzQ^Gah[0p* kSD |39d*cq-[O wAǂG#@J*=,LڃYf~@D % 0gD1͘2' Y3hnǍ*rqXJm\20couFsR+ $]:j$Gw39gnpUJ1<gJO<2ͥTE5=4bPˀo!'E}8:ϕX#I@s1FDy ilIXtQD%GN-A -+jtW"IG 6ՠ`7[PmDͥ{+MΌnq5 jm]i$E77;>24&O* opEn/wm+ Z7iK/C#S \(24q$[(֝ϫG;?OGO/.t^Lm]{Yޫk FI A;ͨ

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.