Type Exception Report
Message Unable to compile class for JSP:
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [2] in the jsp file: [/en/supplyMap1.jsp] Vector cannot be resolved to a type 1: <% 2: Vector product = new Vector(); 3: product.add(new LabelValueBean("--choose--", "")); 4: product.add(new LabelValueBean("-Raw Materials-", "010")); 5: product.add(new LabelValueBean("Chrome Ore", "01010301")); An error occurred at line: [2] in the jsp file: [/en/supplyMap1.jsp] Vector cannot be resolved to a type 1: <% 2: Vector product = new Vector(); 3: product.add(new LabelValueBean("--choose--", "")); 4: product.add(new LabelValueBean("-Raw Materials-", "010")); 5: product.add(new LabelValueBean("Chrome Ore", "01010301")); An error occurred at line: [42] in the jsp file: [/en/supplyMap1.jsp] Vector cannot be resolved to a type 39: product.add(new LabelValueBean("Tungsten", "011313")); 40: product.add(new LabelValueBean("Others", "011300")); 41: request.setAttribute("products",product); 42: Vector sort = new Vector(); 43: sort.add(new LabelValueBean("--choose--", "0")); 44: sort.add(new LabelValueBean("Buy", "1")); 45: sort.add(new LabelValueBean("Sell", "2")); An error occurred at line: [42] in the jsp file: [/en/supplyMap1.jsp] Vector cannot be resolved to a type 39: product.add(new LabelValueBean("Tungsten", "011313")); 40: product.add(new LabelValueBean("Others", "011300")); 41: request.setAttribute("products",product); 42: Vector sort = new Vector(); 43: sort.add(new LabelValueBean("--choose--", "0")); 44: sort.add(new LabelValueBean("Buy", "1")); 45: sort.add(new LabelValueBean("Sell", "2")); An error occurred at line: [47] in the jsp file: [/en/supplyMap1.jsp] HashMap cannot be resolved to a type 44: sort.add(new LabelValueBean("Buy", "1")); 45: sort.add(new LabelValueBean("Sell", "2")); 46: request.setAttribute("sorts",sort); 47: HashMap map = new HashMap(); 48: map.put("010","Raw Materials"); 49: map.put("01010301","Chrome Ore"); 50: map.put("011302","Copper Ore"); An error occurred at line: [47] in the jsp file: [/en/supplyMap1.jsp] HashMap cannot be resolved to a type 44: sort.add(new LabelValueBean("Buy", "1")); 45: sort.add(new LabelValueBean("Sell", "2")); 46: request.setAttribute("sorts",sort); 47: HashMap map = new HashMap(); 48: map.put("010","Raw Materials"); 49: map.put("01010301","Chrome Ore"); 50: map.put("011302","Copper Ore"); An error occurred at line: [49] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 46: <li id="122" onmouseover="setTab('12',2,3)"></li> 47: <li id="123" onmouseover="setTab('12',3,3)"></li> 48: </ul> 49: <div id="con_12_1" class="newbox"><%List headlines=null; headlines= (List)request.getAttribute("headlines");if(headlines!=null&&headlines.size()>0){Map headMap = null; headMap = (Map)headlines.get(0);if(headMap!=null){String content = ""+headMap.get("content");String infoCode = ""+headMap.get("info_code");%> 50: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> An error occurred at line: [49] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 46: <li id="122" onmouseover="setTab('12',2,3)"></li> 47: <li id="123" onmouseover="setTab('12',3,3)"></li> 48: </ul> 49: <div id="con_12_1" class="newbox"><%List headlines=null; headlines= (List)request.getAttribute("headlines");if(headlines!=null&&headlines.size()>0){Map headMap = null; headMap = (Map)headlines.get(0);if(headMap!=null){String content = ""+headMap.get("content");String infoCode = ""+headMap.get("info_code");%> 50: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> An error occurred at line: [49] in the jsp file: [/en/steel_detail.jsp] Map cannot be resolved to a type 46: <li id="122" onmouseover="setTab('12',2,3)"></li> 47: <li id="123" onmouseover="setTab('12',3,3)"></li> 48: </ul> 49: <div id="con_12_1" class="newbox"><%List headlines=null; headlines= (List)request.getAttribute("headlines");if(headlines!=null&&headlines.size()>0){Map headMap = null; headMap = (Map)headlines.get(0);if(headMap!=null){String content = ""+headMap.get("content");String infoCode = ""+headMap.get("info_code");%> 50: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> An error occurred at line: [49] in the jsp file: [/en/steel_detail.jsp] Map cannot be resolved to a type 46: <li id="122" onmouseover="setTab('12',2,3)"></li> 47: <li id="123" onmouseover="setTab('12',3,3)"></li> 48: </ul> 49: <div id="con_12_1" class="newbox"><%List headlines=null; headlines= (List)request.getAttribute("headlines");if(headlines!=null&&headlines.size()>0){Map headMap = null; headMap = (Map)headlines.get(0);if(headMap!=null){String content = ""+headMap.get("content");String infoCode = ""+headMap.get("info_code");%> 50: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> An error occurred at line: [50] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 47: <li id="123" onmouseover="setTab('12',3,3)"></li> 48: </ul> 49: <div id="con_12_1" class="newbox"><%List headlines=null; headlines= (List)request.getAttribute("headlines");if(headlines!=null&&headlines.size()>0){Map headMap = null; headMap = (Map)headlines.get(0);if(headMap!=null){String content = ""+headMap.get("content");String infoCode = ""+headMap.get("info_code");%> 50: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> 53: </div> An error occurred at line: [54] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> 53: </div> 54: <div id="con_12_2" class="newbox" style="display:none"><%List headlines1=null; headlines1= (List)request.getAttribute("headlines");if(headlines1!=null&&headlines1.size()>1){Map headMap1 = null; headMap1 = (Map)headlines1.get(1);if(headMap1!=null){String content = ""+headMap1.get("content");String infoCode = ""+headMap1.get("info_code");%> 55: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> An error occurred at line: [54] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> 53: </div> 54: <div id="con_12_2" class="newbox" style="display:none"><%List headlines1=null; headlines1= (List)request.getAttribute("headlines");if(headlines1!=null&&headlines1.size()>1){Map headMap1 = null; headMap1 = (Map)headlines1.get(1);if(headMap1!=null){String content = ""+headMap1.get("content");String infoCode = ""+headMap1.get("info_code");%> 55: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> An error occurred at line: [54] in the jsp file: [/en/steel_detail.jsp] Map cannot be resolved to a type 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> 53: </div> 54: <div id="con_12_2" class="newbox" style="display:none"><%List headlines1=null; headlines1= (List)request.getAttribute("headlines");if(headlines1!=null&&headlines1.size()>1){Map headMap1 = null; headMap1 = (Map)headlines1.get(1);if(headMap1!=null){String content = ""+headMap1.get("content");String infoCode = ""+headMap1.get("info_code");%> 55: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> An error occurred at line: [54] in the jsp file: [/en/steel_detail.jsp] Map cannot be resolved to a type 51: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap.get("info_name");%><%=title%></a></h2> 52: <%}}%> 53: </div> 54: <div id="con_12_2" class="newbox" style="display:none"><%List headlines1=null; headlines1= (List)request.getAttribute("headlines");if(headlines1!=null&&headlines1.size()>1){Map headMap1 = null; headMap1 = (Map)headlines1.get(1);if(headMap1!=null){String content = ""+headMap1.get("content");String infoCode = ""+headMap1.get("info_code");%> 55: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> An error occurred at line: [55] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 52: <%}}%> 53: </div> 54: <div id="con_12_2" class="newbox" style="display:none"><%List headlines1=null; headlines1= (List)request.getAttribute("headlines");if(headlines1!=null&&headlines1.size()>1){Map headMap1 = null; headMap1 = (Map)headlines1.get(1);if(headMap1!=null){String content = ""+headMap1.get("content");String infoCode = ""+headMap1.get("info_code");%> 55: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> 58: </div> An error occurred at line: [59] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> 58: </div> 59: <div id="con_12_3" class="newbox" style="display:none"><%List headlines2=null; headlines2= (List)request.getAttribute("headlines");if(headlines2!=null&&headlines2.size()>2){Map headMap2 = null; headMap2 = (Map)headlines2.get(2);if(headMap2!=null){String content = ""+headMap2.get("content");String infoCode = ""+headMap2.get("info_code");%> 60: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 61: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap2.get("info_name");%><%=title%></a></h2> 62: <%}}%> An error occurred at line: [59] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> 58: </div> 59: <div id="con_12_3" class="newbox" style="display:none"><%List headlines2=null; headlines2= (List)request.getAttribute("headlines");if(headlines2!=null&&headlines2.size()>2){Map headMap2 = null; headMap2 = (Map)headlines2.get(2);if(headMap2!=null){String content = ""+headMap2.get("content");String infoCode = ""+headMap2.get("info_code");%> 60: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 61: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap2.get("info_name");%><%=title%></a></h2> 62: <%}}%> An error occurred at line: [59] in the jsp file: [/en/steel_detail.jsp] Map cannot be resolved to a type 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> 58: </div> 59: <div id="con_12_3" class="newbox" style="display:none"><%List headlines2=null; headlines2= (List)request.getAttribute("headlines");if(headlines2!=null&&headlines2.size()>2){Map headMap2 = null; headMap2 = (Map)headlines2.get(2);if(headMap2!=null){String content = ""+headMap2.get("content");String infoCode = ""+headMap2.get("info_code");%> 60: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 61: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap2.get("info_name");%><%=title%></a></h2> 62: <%}}%> An error occurred at line: [59] in the jsp file: [/en/steel_detail.jsp] Map cannot be resolved to a type 56: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap1.get("info_name");%><%=title%></a></h2> 57: <%}}%> 58: </div> 59: <div id="con_12_3" class="newbox" style="display:none"><%List headlines2=null; headlines2= (List)request.getAttribute("headlines");if(headlines2!=null&&headlines2.size()>2){Map headMap2 = null; headMap2 = (Map)headlines2.get(2);if(headMap2!=null){String content = ""+headMap2.get("content");String infoCode = ""+headMap2.get("info_code");%> 60: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 61: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap2.get("info_name");%><%=title%></a></h2> 62: <%}}%> An error occurred at line: [60] in the jsp file: [/en/steel_detail.jsp] List cannot be resolved to a type 57: <%}}%> 58: </div> 59: <div id="con_12_3" class="newbox" style="display:none"><%List headlines2=null; headlines2= (List)request.getAttribute("headlines");if(headlines2!=null&&headlines2.size()>2){Map headMap2 = null; headMap2 = (Map)headlines2.get(2);if(headMap2!=null){String content = ""+headMap2.get("content");String infoCode = ""+headMap2.get("info_code");%> 60: <div class="pics"><%ENResBO enResBO = new ENResBO();List list = enResBO.getImgStr(content); %><%if(list.size()>0){%><IMG src="<%=(String) list.get(0)%>" border="0"/><%}%></div> 61: <h2><a href="viewDetail.do?flag=3&id=<%=infoCode%>" target="_blank"><%title = ""+headMap2.get("info_name");%><%=title%></a></h2> 62: <%}}%> 63: </div> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:392) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:593) org.apache.jasper.compiler.Compiler.compile(Compiler.java:400) org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:417) org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:271) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) com.rgl.commons.struts.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:65)
Note The full stack trace of the root cause is available in the server logs.