아래와 같은 HTTP Status 500 오류가 발생했다.

어제 한시간 넘게 헤매던 것을 포기하고 퇴근했다가...
출근하고 잠깐 봐서 해결....역시 안 될 때는 포기하고 한참 후에 다시 보는게 정답인듯...뭐 난 그렇다고ㅋㅋ;;

아무튼...Error 에 내용이 다 있으면서... 난 왜 이걸 못봤던 것일까-_-;;;
원인은 articleInfoBean 가 있는 곳이 어디인지 패키지를 적어주지 않아서였다;;;

<%@ page import="test.articleInfoBean" %>

패키지를 import 하여서 간단히 해결. 뭐 이런 실수도 할 수 있는거지ㅋㅋㅋ;;;

HTTP Status 500 -


type Exception report

message

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: 33 in the jsp file: /xxxxxx/xxxxxx.jsp
articleInfoBean cannot be resolved to a type
30: 	userList.setOtherParam(otherParam);
31: 	userList.setCurrPage(currPage);
32: 	
33: 	List<articleInfoBean> cbean = userList.doListAction(); 
34: %>   
35: <script type="text/javascript" src="/scripts/form_check.js"></script>
36: <script type="text/javascript">


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.


+ Recent posts