早教吧 育儿知识 作业答案 考试题库 百科 知识分享

HTTPStatus500-怎么解决?typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionjavax.servlet.ServletException:java.lang.IndexOutOfBoundsException:Index:0

题目详情
HTTP Status 500 - 怎么解决?
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
代码太多打不上,有能解决的请加我QQ:245533505。。。。非常感谢。
▼优质解答
答案和解析
indexOutOfBoundsException 基本上断定是数组越界造成的