最近在用SSM技術棧,開發一個OA系統項目,其中就踩了不少坑,今天就是其中一個,讓我細細道來java
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:973) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) javax.servlet.http.HttpServlet.service(HttpServlet.java:634) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) com.imooc.oa.global.EncodingFilter.doFilter(EncodingFilter.java:21) 代碼提示位置: web
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0spring