type Exception report
message Unable to compile class for JSP: An error occurred at line: 17 in the generated java file Only a type can be imported. com.evermbc.academy.CompanyAdmin resolves to a package An error occurred at line: 18 in the generated java file Only a type can be imported. com.evermbc.academy.CompanyToClassid resolves to a package An error occurred at line: 19 in the generated java file Only a type can be imported. com.evermbc.academy.admin.AccessLog resolves to a package An error occurred at line: 20 in the generated java file Only a type can be imported. com.evermbc.academy.admin.LogDay resolves to a package An error occurred at line: 21 in the generated java file Only a type can be imported. com.evermbc.academy.admin.MenuList resolves to a package An error occurred at line: 22 in the generated java file Only a type can be imported. com.evermbc.academy.admin.MenuFrameset resolves to a package An error occurred at line: 23 in the generated java file Only a type can be imported. com.evermbc.common.util.StringConverter resolves to a package An error occurred at line: 30 in the generated java file Only a type can be imported. com.evermbc.academy.UserInfo resolves to a package An error occurred at line: 31 in the generated java file Only a type can be imported. com.evermbc.common.util.StringConverter resolves to a package An error occurred at line: 4 in the jsp file: /b2b/include/GetCookie.jsp UserInfo cannot be resolved to a type 1: <%@ page import="java.util.*,java.io.*,java.sql.*,java.net.*" %><%@ page import="javax.sql.*" %><%@ page import="javax.naming.*" %><%@ page import="com.evermbc.academy.UserInfo" %> 2: <%@ page import="com.evermbc.common.util.StringConverter" %> 3: <% 4: UserInfo loginUi = null; 5: Hashtable loginHt = null; 6: Connection conCk = null; 7: try { An error occurred at line: 10 in the jsp file: /b2b/include/GetCookie.jsp UserInfo cannot be resolved to a type 7: try { 8: conCk = ((DataSource)(new InitialContext()).lookup("java:comp/env/jdbc/academy")).getConnection(); 9: 10: loginUi = new UserInfo(conCk); 11: loginHt = loginUi.getSession(request); 12: conCk.close(); 13: } catch (Exception e1) { An error occurred at line: 31 in the jsp file: /b2b/Do.jsp StringConverter cannot be resolved 28: %> 29: <%@ include file="/include/JtdsConnect.jsp"%> 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); An error occurred at line: 33 in the jsp file: /b2b/Do.jsp AccessLog cannot be resolved to a type 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); 35: columns.put("menu_id",menuId); 36: if (id != null) columns.put("user_id",id); An error occurred at line: 33 in the jsp file: /b2b/Do.jsp AccessLog cannot be resolved to a type 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); 35: columns.put("menu_id",menuId); 36: if (id != null) columns.put("user_id",id); An error occurred at line: 42 in the jsp file: /b2b/Do.jsp LogDay cannot be resolved to a type 39: al.insert(columns); 40: 41: if (serverName.equals("cyber.yeongju.go.kr")) { 42: LogDay lDay = new LogDay(conn); 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: An error occurred at line: 42 in the jsp file: /b2b/Do.jsp LogDay cannot be resolved to a type 39: al.insert(columns); 40: 41: if (serverName.equals("cyber.yeongju.go.kr")) { 42: LogDay lDay = new LogDay(conn); 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: An error occurred at line: 46 in the jsp file: /b2b/Do.jsp MenuList cannot be resolved to a type 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: 46: MenuList ml = new MenuList(conn); 47: Hashtable menus = ml.getDetail(menuId); 48: menuNm = (String)menus.get("menu_nm"); 49: if ((menuNm == null)||(menuNm.equals(""))) An error occurred at line: 46 in the jsp file: /b2b/Do.jsp MenuList cannot be resolved to a type 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: 46: MenuList ml = new MenuList(conn); 47: Hashtable menus = ml.getDetail(menuId); 48: menuNm = (String)menus.get("menu_nm"); 49: if ((menuNm == null)||(menuNm.equals(""))) An error occurred at line: 52 in the jsp file: /b2b/Do.jsp MenuFrameset cannot be resolved to a type 49: if ((menuNm == null)||(menuNm.equals(""))) 50: menuNm = "���̹� �н�����"; 51: 52: MenuFrameset mf = new MenuFrameset(conn); 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: An error occurred at line: 52 in the jsp file: /b2b/Do.jsp MenuFrameset cannot be resolved to a type 49: if ((menuNm == null)||(menuNm.equals(""))) 50: menuNm = "���̹� �н�����"; 51: 52: MenuFrameset mf = new MenuFrameset(conn); 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: An error occurred at line: 56 in the jsp file: /b2b/Do.jsp StringConverter cannot be resolved 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: 56: String parameter = StringConverter.nullToSpace((String)menus.get("parameter")); 57: if (url == null) url = (String)menus.get("url"); 58: top = (String)frames.get("top_url"); 59: left = (String)frames.get("left_url"); An error occurred at line: 84 in the jsp file: /b2b/Do.jsp CompanyAdmin cannot be resolved to a type 81: } 82: 83: if ((staffCd != null)&&(!staffCd.equals("99"))) { // ���� üũ 84: CompanyAdmin ca = new CompanyAdmin(conn); 85: if (ca.isAdmin(serverName, id) == false) { 86: url = "/error/Forbidden.jsp"; 87: } An error occurred at line: 84 in the jsp file: /b2b/Do.jsp CompanyAdmin cannot be resolved to a type 81: } 82: 83: if ((staffCd != null)&&(!staffCd.equals("99"))) { // ���� üũ 84: CompanyAdmin ca = new CompanyAdmin(conn); 85: if (ca.isAdmin(serverName, id) == false) { 86: url = "/error/Forbidden.jsp"; 87: } An error occurred at line: 125 in the jsp file: /b2b/Do.jsp CompanyToClassid cannot be resolved to a type 122: 123: //���� ���� ������ Ȯ�� 124: if(contentId != null) { 125: CompanyToClassid ctc = new CompanyToClassid(conn); 126: if(!ctc.existContent(serverName,contentId)) { 127: out.print("<script>"); 128: out.print("alert('���� ���� �������� �ƴմϴ�.');"); An error occurred at line: 125 in the jsp file: /b2b/Do.jsp CompanyToClassid cannot be resolved to a type 122: 123: //���� ���� ������ Ȯ�� 124: if(contentId != null) { 125: CompanyToClassid ctc = new CompanyToClassid(conn); 126: if(!ctc.existContent(serverName,contentId)) { 127: out.print("<script>"); 128: out.print("alert('���� ���� �������� �ƴմϴ�.');"); Stacktrace:
description The server encountered an internal error (Unable to compile class for JSP: An error occurred at line: 17 in the generated java file Only a type can be imported. com.evermbc.academy.CompanyAdmin resolves to a package An error occurred at line: 18 in the generated java file Only a type can be imported. com.evermbc.academy.CompanyToClassid resolves to a package An error occurred at line: 19 in the generated java file Only a type can be imported. com.evermbc.academy.admin.AccessLog resolves to a package An error occurred at line: 20 in the generated java file Only a type can be imported. com.evermbc.academy.admin.LogDay resolves to a package An error occurred at line: 21 in the generated java file Only a type can be imported. com.evermbc.academy.admin.MenuList resolves to a package An error occurred at line: 22 in the generated java file Only a type can be imported. com.evermbc.academy.admin.MenuFrameset resolves to a package An error occurred at line: 23 in the generated java file Only a type can be imported. com.evermbc.common.util.StringConverter resolves to a package An error occurred at line: 30 in the generated java file Only a type can be imported. com.evermbc.academy.UserInfo resolves to a package An error occurred at line: 31 in the generated java file Only a type can be imported. com.evermbc.common.util.StringConverter resolves to a package An error occurred at line: 4 in the jsp file: /b2b/include/GetCookie.jsp UserInfo cannot be resolved to a type 1: <%@ page import="java.util.*,java.io.*,java.sql.*,java.net.*" %><%@ page import="javax.sql.*" %><%@ page import="javax.naming.*" %><%@ page import="com.evermbc.academy.UserInfo" %> 2: <%@ page import="com.evermbc.common.util.StringConverter" %> 3: <% 4: UserInfo loginUi = null; 5: Hashtable loginHt = null; 6: Connection conCk = null; 7: try { An error occurred at line: 10 in the jsp file: /b2b/include/GetCookie.jsp UserInfo cannot be resolved to a type 7: try { 8: conCk = ((DataSource)(new InitialContext()).lookup("java:comp/env/jdbc/academy")).getConnection(); 9: 10: loginUi = new UserInfo(conCk); 11: loginHt = loginUi.getSession(request); 12: conCk.close(); 13: } catch (Exception e1) { An error occurred at line: 31 in the jsp file: /b2b/Do.jsp StringConverter cannot be resolved 28: %> 29: <%@ include file="/include/JtdsConnect.jsp"%> 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); An error occurred at line: 33 in the jsp file: /b2b/Do.jsp AccessLog cannot be resolved to a type 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); 35: columns.put("menu_id",menuId); 36: if (id != null) columns.put("user_id",id); An error occurred at line: 33 in the jsp file: /b2b/Do.jsp AccessLog cannot be resolved to a type 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); 35: columns.put("menu_id",menuId); 36: if (id != null) columns.put("user_id",id); An error occurred at line: 42 in the jsp file: /b2b/Do.jsp LogDay cannot be resolved to a type 39: al.insert(columns); 40: 41: if (serverName.equals("cyber.yeongju.go.kr")) { 42: LogDay lDay = new LogDay(conn); 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: An error occurred at line: 42 in the jsp file: /b2b/Do.jsp LogDay cannot be resolved to a type 39: al.insert(columns); 40: 41: if (serverName.equals("cyber.yeongju.go.kr")) { 42: LogDay lDay = new LogDay(conn); 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: An error occurred at line: 46 in the jsp file: /b2b/Do.jsp MenuList cannot be resolved to a type 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: 46: MenuList ml = new MenuList(conn); 47: Hashtable menus = ml.getDetail(menuId); 48: menuNm = (String)menus.get("menu_nm"); 49: if ((menuNm == null)||(menuNm.equals(""))) An error occurred at line: 46 in the jsp file: /b2b/Do.jsp MenuList cannot be resolved to a type 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: 46: MenuList ml = new MenuList(conn); 47: Hashtable menus = ml.getDetail(menuId); 48: menuNm = (String)menus.get("menu_nm"); 49: if ((menuNm == null)||(menuNm.equals(""))) An error occurred at line: 52 in the jsp file: /b2b/Do.jsp MenuFrameset cannot be resolved to a type 49: if ((menuNm == null)||(menuNm.equals(""))) 50: menuNm = "���̹� �н�����"; 51: 52: MenuFrameset mf = new MenuFrameset(conn); 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: An error occurred at line: 52 in the jsp file: /b2b/Do.jsp MenuFrameset cannot be resolved to a type 49: if ((menuNm == null)||(menuNm.equals(""))) 50: menuNm = "���̹� �н�����"; 51: 52: MenuFrameset mf = new MenuFrameset(conn); 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: An error occurred at line: 56 in the jsp file: /b2b/Do.jsp StringConverter cannot be resolved 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: 56: String parameter = StringConverter.nullToSpace((String)menus.get("parameter")); 57: if (url == null) url = (String)menus.get("url"); 58: top = (String)frames.get("top_url"); 59: left = (String)frames.get("left_url"); An error occurred at line: 84 in the jsp file: /b2b/Do.jsp CompanyAdmin cannot be resolved to a type 81: } 82: 83: if ((staffCd != null)&&(!staffCd.equals("99"))) { // ���� üũ 84: CompanyAdmin ca = new CompanyAdmin(conn); 85: if (ca.isAdmin(serverName, id) == false) { 86: url = "/error/Forbidden.jsp"; 87: } An error occurred at line: 84 in the jsp file: /b2b/Do.jsp CompanyAdmin cannot be resolved to a type 81: } 82: 83: if ((staffCd != null)&&(!staffCd.equals("99"))) { // ���� üũ 84: CompanyAdmin ca = new CompanyAdmin(conn); 85: if (ca.isAdmin(serverName, id) == false) { 86: url = "/error/Forbidden.jsp"; 87: } An error occurred at line: 125 in the jsp file: /b2b/Do.jsp CompanyToClassid cannot be resolved to a type 122: 123: //���� ���� ������ Ȯ�� 124: if(contentId != null) { 125: CompanyToClassid ctc = new CompanyToClassid(conn); 126: if(!ctc.existContent(serverName,contentId)) { 127: out.print("<script>"); 128: out.print("alert('���� ���� �������� �ƴմϴ�.');"); An error occurred at line: 125 in the jsp file: /b2b/Do.jsp CompanyToClassid cannot be resolved to a type 122: 123: //���� ���� ������ Ȯ�� 124: if(contentId != null) { 125: CompanyToClassid ctc = new CompanyToClassid(conn); 126: if(!ctc.existContent(serverName,contentId)) { 127: out.print("<script>"); 128: out.print("alert('���� ���� �������� �ƴմϴ�.');"); Stacktrace:) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 17 in the generated java file Only a type can be imported. com.evermbc.academy.CompanyAdmin resolves to a package An error occurred at line: 18 in the generated java file Only a type can be imported. com.evermbc.academy.CompanyToClassid resolves to a package An error occurred at line: 19 in the generated java file Only a type can be imported. com.evermbc.academy.admin.AccessLog resolves to a package An error occurred at line: 20 in the generated java file Only a type can be imported. com.evermbc.academy.admin.LogDay resolves to a package An error occurred at line: 21 in the generated java file Only a type can be imported. com.evermbc.academy.admin.MenuList resolves to a package An error occurred at line: 22 in the generated java file Only a type can be imported. com.evermbc.academy.admin.MenuFrameset resolves to a package An error occurred at line: 23 in the generated java file Only a type can be imported. com.evermbc.common.util.StringConverter resolves to a package An error occurred at line: 30 in the generated java file Only a type can be imported. com.evermbc.academy.UserInfo resolves to a package An error occurred at line: 31 in the generated java file Only a type can be imported. com.evermbc.common.util.StringConverter resolves to a package An error occurred at line: 4 in the jsp file: /b2b/include/GetCookie.jsp UserInfo cannot be resolved to a type 1: <%@ page import="java.util.*,java.io.*,java.sql.*,java.net.*" %><%@ page import="javax.sql.*" %><%@ page import="javax.naming.*" %><%@ page import="com.evermbc.academy.UserInfo" %> 2: <%@ page import="com.evermbc.common.util.StringConverter" %> 3: <% 4: UserInfo loginUi = null; 5: Hashtable loginHt = null; 6: Connection conCk = null; 7: try { An error occurred at line: 10 in the jsp file: /b2b/include/GetCookie.jsp UserInfo cannot be resolved to a type 7: try { 8: conCk = ((DataSource)(new InitialContext()).lookup("java:comp/env/jdbc/academy")).getConnection(); 9: 10: loginUi = new UserInfo(conCk); 11: loginHt = loginUi.getSession(request); 12: conCk.close(); 13: } catch (Exception e1) { An error occurred at line: 31 in the jsp file: /b2b/Do.jsp StringConverter cannot be resolved 28: %> 29: <%@ include file="/include/JtdsConnect.jsp"%> 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); An error occurred at line: 33 in the jsp file: /b2b/Do.jsp AccessLog cannot be resolved to a type 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); 35: columns.put("menu_id",menuId); 36: if (id != null) columns.put("user_id",id); An error occurred at line: 33 in the jsp file: /b2b/Do.jsp AccessLog cannot be resolved to a type 30: <% 31: String logDate = StringConverter.dateToStr("yyyy-MM-dd HH:mm:ss"); 32: 33: AccessLog al = new AccessLog(conn); 34: Hashtable columns = new Hashtable(); 35: columns.put("menu_id",menuId); 36: if (id != null) columns.put("user_id",id); An error occurred at line: 42 in the jsp file: /b2b/Do.jsp LogDay cannot be resolved to a type 39: al.insert(columns); 40: 41: if (serverName.equals("cyber.yeongju.go.kr")) { 42: LogDay lDay = new LogDay(conn); 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: An error occurred at line: 42 in the jsp file: /b2b/Do.jsp LogDay cannot be resolved to a type 39: al.insert(columns); 40: 41: if (serverName.equals("cyber.yeongju.go.kr")) { 42: LogDay lDay = new LogDay(conn); 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: An error occurred at line: 46 in the jsp file: /b2b/Do.jsp MenuList cannot be resolved to a type 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: 46: MenuList ml = new MenuList(conn); 47: Hashtable menus = ml.getDetail(menuId); 48: menuNm = (String)menus.get("menu_nm"); 49: if ((menuNm == null)||(menuNm.equals(""))) An error occurred at line: 46 in the jsp file: /b2b/Do.jsp MenuList cannot be resolved to a type 43: lDay.addHit(serverName,logDate.substring(0,10)); 44: } 45: 46: MenuList ml = new MenuList(conn); 47: Hashtable menus = ml.getDetail(menuId); 48: menuNm = (String)menus.get("menu_nm"); 49: if ((menuNm == null)||(menuNm.equals(""))) An error occurred at line: 52 in the jsp file: /b2b/Do.jsp MenuFrameset cannot be resolved to a type 49: if ((menuNm == null)||(menuNm.equals(""))) 50: menuNm = "���̹� �н�����"; 51: 52: MenuFrameset mf = new MenuFrameset(conn); 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: An error occurred at line: 52 in the jsp file: /b2b/Do.jsp MenuFrameset cannot be resolved to a type 49: if ((menuNm == null)||(menuNm.equals(""))) 50: menuNm = "���̹� �н�����"; 51: 52: MenuFrameset mf = new MenuFrameset(conn); 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: An error occurred at line: 56 in the jsp file: /b2b/Do.jsp StringConverter cannot be resolved 53: mf.setServerName(serverName); 54: Hashtable frames = mf.getDetail(menuId); 55: 56: String parameter = StringConverter.nullToSpace((String)menus.get("parameter")); 57: if (url == null) url = (String)menus.get("url"); 58: top = (String)frames.get("top_url"); 59: left = (String)frames.get("left_url"); An error occurred at line: 84 in the jsp file: /b2b/Do.jsp CompanyAdmin cannot be resolved to a type 81: } 82: 83: if ((staffCd != null)&&(!staffCd.equals("99"))) { // ���� üũ 84: CompanyAdmin ca = new CompanyAdmin(conn); 85: if (ca.isAdmin(serverName, id) == false) { 86: url = "/error/Forbidden.jsp"; 87: } An error occurred at line: 84 in the jsp file: /b2b/Do.jsp CompanyAdmin cannot be resolved to a type 81: } 82: 83: if ((staffCd != null)&&(!staffCd.equals("99"))) { // ���� üũ 84: CompanyAdmin ca = new CompanyAdmin(conn); 85: if (ca.isAdmin(serverName, id) == false) { 86: url = "/error/Forbidden.jsp"; 87: } An error occurred at line: 125 in the jsp file: /b2b/Do.jsp CompanyToClassid cannot be resolved to a type 122: 123: //���� ���� ������ Ȯ�� 124: if(contentId != null) { 125: CompanyToClassid ctc = new CompanyToClassid(conn); 126: if(!ctc.existContent(serverName,contentId)) { 127: out.print("<script>"); 128: out.print("alert('���� ���� �������� �ƴմϴ�.');"); An error occurred at line: 125 in the jsp file: /b2b/Do.jsp CompanyToClassid cannot be resolved to a type 122: 123: //���� ���� ������ Ȯ�� 124: if(contentId != null) { 125: CompanyToClassid ctc = new CompanyToClassid(conn); 126: if(!ctc.existContent(serverName,contentId)) { 127: out.print("<script>"); 128: out.print("alert('���� ���� �������� �ƴմϴ�.');"); Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469) org.apache.jasper.compiler.Compiler.compile(Compiler.java:378) org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.28 logs.