물어보기작업관련
조회 수 71 댓글 1

홈페이지를 작업하다가, jsp 꼬인부분이 있어 처리 하던도중 db와 data를 백업하였습니다.

 
그뒤 전체적인 안정화 작업을 진행하였고, 실행을 해보니 index.jsp에서
 
header.jsp와 footer.jsp는 정상적으로 불러오는데, contents.jsp만 정상적으로 불러오지못해
 
공백현상이 생깁니다.
 
확인해보니 해당 경로에 500에러가 발생하여 불러오는게 불가능한 것 같습니다.
 
개발자가 아니라 인수인계 받은 상황인데, 상당히 난감합니다.
 
고수님들의 조언이 필요합니다.
 
에러 올리겠습니다.
 
-------------------------------------------
HTTP Status 500 - Unable to compile class for JSP:
 
type Exception report
 
message Unable to compile class for JSP:
 
description The server encountered an internal error that prevented it from fulfilling this request.
 
exception
 
org.apache.jasper.JasperException: Unable to compile class for JSP: 
 
An error occurred at line: 95 in the jsp file: /jsp/user/main/content.jsp
The method selectArticleboardmnameTotalCount(String) is undefined for the type BoardsubDBBean
92: <%
93: 
94: String boardmname1 = "1";
95: int total1 = boarddbpro.selectArticleboardmnameTotalCount(boardmname1);
96: if(total1 > 0){
97: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname1);
98: for(int i = 0; i < blist.size(); i = i+1){
 
 
An error occurred at line: 97 in the jsp file: /jsp/user/main/content.jsp
The method selectArticlereadcountList(int, int, String) is undefined for the type BoardsubDBBean
94: String boardmname1 = "1";
95: int total1 = boarddbpro.selectArticleboardmnameTotalCount(boardmname1);
96: if(total1 > 0){
97: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname1);
98: for(int i = 0; i < blist.size(); i = i+1){
99: boarddata = blist.get(i);
100: %>
 
 
An error occurred at line: 111 in the jsp file: /jsp/user/main/content.jsp
The method selectArticleboardmnameTotalCount(String) is undefined for the type BoardsubDBBean
108: <%
109: 
110: String boardmname2 = "2";
111: int total2 = boarddbpro.selectArticleboardmnameTotalCount(boardmname2);
112: if(total2 > 0){
113: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname2);
114: for(int i = 0; i < blist.size(); i = i+1){
 
 
An error occurred at line: 113 in the jsp file: /jsp/user/main/content.jsp
The method selectArticlereadcountList(int, int, String) is undefined for the type BoardsubDBBean
110: String boardmname2 = "2";
111: int total2 = boarddbpro.selectArticleboardmnameTotalCount(boardmname2);
112: if(total2 > 0){
113: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname2);
114: for(int i = 0; i < blist.size(); i = i+1){
115: boarddata = blist.get(i);
116: %>
 
 
An error occurred at line: 128 in the jsp file: /jsp/user/main/content.jsp
The method selectArticleboardmnameTotalCount(String) is undefined for the type BoardsubDBBean
125: <%
126: 
127: String boardmname3 = "3";
128: int total3 = boarddbpro.selectArticleboardmnameTotalCount(boardmname3);
129: if(total3 > 0){
130: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname3);
131: for(int i = 0; i < blist.size(); i = i+1){
 
 
An error occurred at line: 130 in the jsp file: /jsp/user/main/content.jsp
The method selectArticlereadcountList(int, int, String) is undefined for the type BoardsubDBBean
127: String boardmname3 = "3";
128: int total3 = boarddbpro.selectArticleboardmnameTotalCount(boardmname3);
129: if(total3 > 0){
130: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname3);
131: for(int i = 0; i < blist.size(); i = i+1){
132: boarddata = blist.get(i);
133: %>
 
 
An error occurred at line: 145 in the jsp file: /jsp/user/main/content.jsp
The method selectArticleboardmnameTotalCount(String) is undefined for the type BoardsubDBBean
142: <%
143: 
144: String boardmname4 = "4";
145: int total4 = boarddbpro.selectArticleboardmnameTotalCount(boardmname4);
146: if(total4 > 0){
147: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname4);
148: for(int i = 0; i < blist.size(); i = i+1){
 
 
An error occurred at line: 147 in the jsp file: /jsp/user/main/content.jsp
The method selectArticlereadcountList(int, int, String) is undefined for the type BoardsubDBBean
144: String boardmname4 = "4";
145: int total4 = boarddbpro.selectArticleboardmnameTotalCount(boardmname4);
146: if(total4 > 0){
147: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname4);
148: for(int i = 0; i < blist.size(); i = i+1){
149: boarddata = blist.get(i);
150: %>
 
 
An error occurred at line: 162 in the jsp file: /jsp/user/main/content.jsp
The method selectArticleboardmnameTotalCount(String) is undefined for the type BoardsubDBBean
159: <%
160: 
161: String boardmname5 = "5";
162: int total5 = boarddbpro.selectArticleboardmnameTotalCount(boardmname5);
163: if(total5 > 0){
164: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname5);
165: for(int i = 0; i < blist.size(); i = i+1){
 
 
An error occurred at line: 164 in the jsp file: /jsp/user/main/content.jsp
The method selectArticlereadcountList(int, int, String) is undefined for the type BoardsubDBBean
161: String boardmname5 = "5";
162: int total5 = boarddbpro.selectArticleboardmnameTotalCount(boardmname5);
163: if(total5 > 0){
164: blist = boarddbpro.selectArticlereadcountList(start, end, boardmname5);
165: for(int i = 0; i < blist.size(); i = i+1){
166: boarddata = blist.get(i);
167: %>
 
 
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.32 logs.
 
Apache Tomcat/7.0.32
  • profile
    라엘 2017.08.18 10:00:57
    BoardDBBean 복사해서 BoardsubDBBean 만드신것 같은데 상속받아서 구현하거나 selectArticlereadcountList 메소드도 복사해 주셔야할 것 같네요. 자세한건 전임자에게..

서버에 요청 중입니다. 잠시만 기다려 주십시오...